acf/post_type/registration_args
Usage
add_filter( 'acf/post_type/registration_args', 'wp_kama_acf_post_type_registration_args_filter', 10, 2 );
/**
* Function for `acf/post_type/registration_args` filter-hook.
*
* @param $args
* @param $post
*
* @return
*/
function wp_kama_acf_post_type_registration_args_filter( $args, $post ){
// filter...
return $args;
}
- $args
- -
- $post
- -
Where the hook is called
acf/post_type/registration_args
acf/includes/post-types/class-acf-post-type.php 643
return apply_filters( 'acf/post_type/registration_args', $args, $post );