wpseo_admin_page_meta_post_types

Allow adding a custom checkboxes to the admin meta page - Post Types tab.

Description

do_action( 'wpseo_admin_page_meta_post_types', (unknown) $yform, (string) $name ); 

Parameters (2)

0. $yform (unknown)
The yform.
1. $name (string)
The name.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'wpseo_admin_page_meta_post_types', $yform, $name ); 
The following example is for adding a hook callback.
  1. // define the wpseo_admin_page_meta_post_types callback 
  2. function action_wpseo_admin_page_meta_post_types( $yform, $name ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'wpseo_admin_page_meta_post_types', 'action_wpseo_admin_page_meta_post_types', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'wpseo_admin_page_meta_post_types', 'action_wpseo_admin_page_meta_post_types', 10, 2 ); 

Defined (1)

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

/admin/views/tabs/metas/post-types.php  
  1. do_action( 'wpseo_admin_page_meta_post_types', $yform, $name );