pods_form_ui_field_hidden
The Pods - Custom Content Types and Fields pods form ui field hidden hook.
Description
Parameters (4)
- 0. $output (unknown)
- The output.
- 1. $name (string)
- The name.
- 2. $value (unknown)
- The value.
- 3. $options (unknown)
- The options.
Usage
- To run the hook, copy the example below.
- $output = apply_filters( 'pods_form_ui_field_hidden', $output, $name, $value, $options );
- if ( !empty( $output ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the pods_form_ui_field_hidden callback
- function filter_pods_form_ui_field_hidden( $output, $name, $value, $options ) {
- // make filter magic happen here...
- return $output;
- };
- // add the filter
- add_filter( 'pods_form_ui_field_hidden', 'filter_pods_form_ui_field_hidden', 10, 4 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'pods_form_ui_field_hidden', 'filter_pods_form_ui_field_hidden', 10, 4 );
Defined (1)
The filter is defined in the following location(s).
- /classes/PodsForm.php
- return apply_filters( 'pods_form_ui_field_hidden', $output, $name, $value, $options );