<prefix>set_form_on_enqueue
The All In One SEO Pack prefix set form on enqueue hook.
Description
Parameters (2)
- 0. $this_form (unknown)
- The this form.
- 1. $screen (unknown)
- The screen.
Usage
- To run the hook, copy the example below.
- $this_form = apply_filters( '{$prefix}set_form_on_enqueue', $this_form, $screen );
- if ( !empty( $this_form ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the <prefix>set_form_on_enqueue callback
- function filter_prefixset_form_on_enqueue( $this_form, $screen ) {
- // make filter magic happen here...
- return $this_form;
- };
- // add the filter
- add_filter( "{$prefix}set_form_on_enqueue", 'filter_prefixset_form_on_enqueue', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( "{$prefix}set_form_on_enqueue", 'filter_prefixset_form_on_enqueue', 10, 2 );
Defined (1)
The filter is defined in the following location(s).
- /admin/aioseop_module_class.php
- $this->form = apply_filters( $prefix . 'set_form_on_enqueue', $this->form, $screen );