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