aioseop_add_post_metabox
The All In One SEO Pack aioseop add post metabox hook.
Description
Parameters (1)
- 0. $array (array) =>
array()
- The array.
Usage
- To run the hook, copy the example below.
- $array = apply_filters( 'aioseop_add_post_metabox', $array );
- if ( !empty( $array ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the aioseop_add_post_metabox callback
- function filter_aioseop_add_post_metabox( $array ) {
- // make filter magic happen here...
- return $array;
- };
- // add the filter
- add_filter( 'aioseop_add_post_metabox', 'filter_aioseop_add_post_metabox', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'aioseop_add_post_metabox', 'filter_aioseop_add_post_metabox', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /aioseop_class.php
- $metaboxes = apply_filters( 'aioseop_add_post_metabox', array() );