LD_REST_Posts_Controller_V2::reset_rest_registered_fields LD_REST_Posts_Controller_V2::reset_rest_registered_fields( string $object_type = null ) Reset Registered fields back to V1. ContentsDescription Parameters Source Changelog Related @package Used By Description # Parameters # $object_type (string) (Optional) The object type. Default value: null Source # File: includes/rest-api/v2/class-ld-rest-posts-controller.php Changelog # Changelog Version Description 3.4.0 Introduced. Related # @package # LearnDash / REST / V2 Used By # Used By Used By Description includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::update_item () Updates a single post. includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_additional_fields () Retrieves all of the registered additional fields for a given object-type. includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_public_item_schema () Gets schema for post type. includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_item () Retrieves a single post.
Used By # Used By Used By Description includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::update_item () Updates a single post. includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_additional_fields () Retrieves all of the registered additional fields for a given object-type. includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_public_item_schema () Gets schema for post type. includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_item () Retrieves a single post.