Class Test_CMB2_REST_Object
Make some things accessible in the CMB2_REST class.
- CMB2_Hookup_Base
-
CMB2_REST
-
Test_CMB2_REST_Object
Methods summary
public
|
|
public
boolean
|
|
public
boolean
|
|
public static
integer
|
#
get_object_id( mixed $object, string $object_type = 'post' )
Get the object ID for the given object/type. |
public static
|
|
public static
|
Methods inherited from CMB2_REST
__construct(),
__get(),
field_can(),
field_can_edit(),
field_can_read(),
get_all(),
get_box_rest_values(),
get_comment_rest_values(),
get_post_rest_values(),
get_rest_box(),
get_rest_values(),
get_term_rest_values(),
get_user_rest_values(),
init_routes(),
is_editable(),
is_protected_meta(),
is_readable(),
maybe_init_and_hookup(),
register_cmb2_fields(),
register_rest_field(),
remove(),
sanitize_box_values(),
sanitize_field_value(),
sanitize_group_value(),
santize_box_rest_values(),
universal_hooks(),
update_comment_rest_values(),
update_post_rest_values(),
update_rest_values(),
update_term_rest_values(),
update_user_rest_values()
Methods inherited from CMB2_Hookup_Base
Constants summary
Constants inherited from CMB2_REST
Properties summary
Properties inherited from CMB2_REST
$boxes,
$cmb,
$edit_fields,
$read_fields,
$rest_edit,
$rest_read,
$type_boxes