Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/add atts to pmpro levels block #2977

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Commits on Apr 20, 2024

  1. Add atts support to pmpro levels shortcode

     * Pass atta to load template function
     * Check atts during loop and skip those groups and levels not present if atts came
    MaximilianoRicoTabo committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    c2f3fa7 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Configuration menu
    Copy the full SHA
    170bf99 View commit details
    Browse the repository at this point in the history
  2. Add atts support to pmpro levels block

     * Add new levels and groups file that add a set of checkboxes based on existing Groups and levels
     * Pass these new attributes from block to render block page.
     * Call the render template function with the new attributes
    MaximilianoRicoTabo committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    7c43958 View commit details
    Browse the repository at this point in the history