<prefix>submit_options

The All In One SEO Pack prefix submit options hook.

Description

apply_filters( '<prefix>submit_options', (unknown) $submit_options, (unknown) $location ); 

Parameters (2)

0. $submit_options (unknown)
The submit options.
1. $location (unknown)
The location.

Usage

To run the hook, copy the example below.
  1. $submit_options = apply_filters( '{$prefix}submit_options', $submit_options, $location ); 
  2.  
  3. if ( !empty( $submit_options ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the <prefix>submit_options callback 
  2. function filter_prefixsubmit_options( $submit_options, $location ) { 
  3. // make filter magic happen here... 
  4. return $submit_options
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( "{$prefix}submit_options", 'filter_prefixsubmit_options', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( "{$prefix}submit_options", 'filter_prefixsubmit_options', 10, 2 ); 

Defined (1)

The filter is defined in the following location(s).

/admin/aioseop_module_class.php  
  1. $submit_options = apply_filters( "{$this->prefix}submit_options", $submit_options, $location );