pods_meta_<function>

The Pods - Custom Content Types and Fields pods meta function hook.

Description

do_action( 'pods_meta_<function>', (unknown) $post ); 

Parameters (1)

0. $post (unknown)
The post.

Usage

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

Defined (5)

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

/classes/PodsMeta.php  
  1. do_action( 'pods_meta_' . __FUNCTION__, $post ); 
  1. do_action( 'pods_meta_' . __FUNCTION__, $tag, $taxonomy ); 
  1. do_action( 'pods_meta_' . __FUNCTION__, $user_id ); 
  1. do_action( 'pods_meta_' . __FUNCTION__, $commenter, $user_identity ); 
  1. do_action( 'pods_meta_' . __FUNCTION__, $comment, $metabox );