pods_meta_save_post_blacklist_status

The Pods - Custom Content Types and Fields pods meta save post blacklist status hook.

Description

apply_filters( 'pods_meta_save_post_blacklist_status', (unknown) $blacklisted_status, (unknown) $post_id, (unknown) $post ); 

Parameters (3)

0. $blacklisted_status (unknown)
The blacklisted status.
1. $post_id (unknown)
The post id.
2. $post (unknown)
The post.

Usage

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

Defined (1)

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

/classes/PodsMeta.php  
  1. $blacklisted_status = apply_filters( 'pods_meta_save_post_blacklist_status', $blacklisted_status, $post_id, $post );