LD_REST_Posts_Controller_V2::swap_rest_registered_fields LD_REST_Posts_Controller_V2::swap_rest_registered_fields( string $object_type = null ) Swap Registered fields from V1 to V2. ContentsDescription Parameters Source Changelog Related @package Uses Used By Description # Parameters # $object_type (string) (Optional) The object type. Default value: null Source # File: sfwd-lms/includes/rest-api/v2/class-ld-rest-posts-controller.php Changelog # Changelog Version Description 3.4.0 Introduced. Related # @package # LearnDash / REST / V2 Uses # Uses Uses Description sfwd-lms/includes/class-ld-lms.php: SFWD_LMS::get_post_args_section () Get post args section Used By # Used By Used By Description sfwd-lms/includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::update_item () Updates a single post. sfwd-lms/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. sfwd-lms/includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_public_item_schema () Gets schema for post type. sfwd-lms/includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_item () Retrieves a single post.
Uses # Uses Uses Description sfwd-lms/includes/class-ld-lms.php: SFWD_LMS::get_post_args_section () Get post args section
Used By # Used By Used By Description sfwd-lms/includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::update_item () Updates a single post. sfwd-lms/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. sfwd-lms/includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_public_item_schema () Gets schema for post type. sfwd-lms/includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::get_item () Retrieves a single post.