acf/decode_post_id

acf/decode_post_id

Hook Type: filter

See hook in core

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

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

  • /includes/acf-wp-functions.php line 218
    	 *
    	 * @param   array $props An array containing "type" and "id" information.
    	 * @param   (int|string) $post_id The post id.
    	 */
    	return apply_filters( 'acf/decode_post_id', compact( 'type', 'id' ), $post_id );
    }
    
    /**
     * Determine the REST base for a post type or taxonomy object. Note that this is not intended for use
     * with term or post objects but is, instead, to be used with the underlying WP_Post_Type and WP_Taxonomy
     * instances.