Browse: Home / Hooks /

learndash_rest_register_fields

do_action( 'learndash_rest_register_fields',  string $post_type,  LD_REST_Users_Groups_Controller_V2 $instance )

Fires after registering the fields for the REST API.


Description #


Parameters #

$post_type

(string) The post type.

$instance

(LD_REST_Users_Groups_Controller_V2) The controller instance.


Return #

(void)


Source #

File: includes/rest-api/v2/class-ld-rest-users-groups-controller.php


Changelog #

Changelog
Version Description
3.1.2 Introduced.