acf/get_post_types

acf/get_post_types

Hook Type: filter

See hook in core

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

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

  • /includes/api/api-helpers.php line 503
     
    		$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 ) ) {