acf/get_object_type

acf/get_object_type

Hook Type: filter

See hook in core

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

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

  • /includes/acf-wp-functions.php line 107
    	 * @param   object $object The object props.
    	 * @param   string $object_type The object type (post, term, user, etc).
    	 * @param   string $object_subtype Optional object subtype (post type, taxonomy).
    	 */
    	return apply_filters( 'acf/get_object_type', $object, $object_type, $object_subtype );
    }
    
    /**
     * Decodes a post_id value such as 1 or "user_1" into an array containing the type and ID.
     *
     * @date    25/1/19