acf/get_post_types

acf/get_post_types

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.1.6

apply_filters('acf/get_post_types') is found 1 times:

  • /includes/api/api-helpers.php line 651
     
    		$post_types[] = $i;
    	}
    
    	return apply_filters( 'acf/get_post_types', $post_types, $args );
    }
    
    function acf_get_pretty_post_types( $post_types = array() ) {
    
    	// get post types
    	if ( empty( $post_types ) ) {