Faculty & Staff Showcase Actions & Filters for Developers - Honors WP

Actions & Filters for Developers

Faculty & Staff Showcase Filters

ea__showcase_user_options
  • Filter hook for adding user options to choose from and display.
  • Accepts adding a property to the `userOptions` object, ideally named the same as its `name` property.
userOptions
  • Object, each property is an object containing:
    • name string String to identify option.
    • label string Display label.
    • helpText string Help text for selecting options.
    • options array[objects] Array of options with the following properties:
      • name string Display name for option.
      • value string Term slug to query.
    • apiPath object API call information.
      • endpoint string API endpoint to hit.
      • namespace string Optional. Not currently used.
      • query string Optional. Not currently used.
ea__showcase_users_to_display
  • Filter hook for manipulating user data after being fetched and before being displayed.

Leave a Reply

Your email address will not be published.

  • Your cart is empty.
Shopping Cart
  • Your cart is empty.
Scroll to Top