Below, is a summary of all classes and their parameters's typehinting status. .
Method | Argument | Typehint | Default | |||||
class CMB2 | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
show_form | ||||||||
render_form_open | ||||||||
box_classes | ||||||||
render_form_close | ||||||||
render_field | ||||||||
render_group | ||||||||
render_group_callback | ||||||||
group_wrap_attributes | ||||||||
render_group_row | ||||||||
add_hidden_field | ||||||||
render_hidden_fields | ||||||||
get_sanitized_values | ||||||||
save_fields | ||||||||
process_fields | ||||||||
process_field | ||||||||
pre_process | ||||||||
after_save | ||||||||
save_group | ||||||||
save_group_field | ||||||||
object_id | ||||||||
mb_object_type | ||||||||
box_types | ||||||||
is_box_type | ||||||||
init_options_mb | ||||||||
deinit_options_mb | ||||||||
is_options_page_mb | ||||||||
is_old_school_options_page_mb | ||||||||
doing_options_page | ||||||||
options_page_keys | ||||||||
object_type | ||||||||
current_object_type | ||||||||
set_prop | ||||||||
prop | ||||||||
get_field | ||||||||
get_field_args | ||||||||
get_default_args | ||||||||
add_fields | ||||||||
add_field | ||||||||
add_group_field | ||||||||
field_actions | ||||||||
define_field_column | ||||||||
_add_field_to_array | ||||||||
remove_field | ||||||||
update_field_property | ||||||||
get_field_ids | ||||||||
search_old_school_array | ||||||||
do_callback | ||||||||
nonce_field | ||||||||
nonce | ||||||||
was_updated | ||||||||
is_alternate_context_box | ||||||||
__get | ||||||||
class CMB2_Ajax | ||||||||
Method | Argument | Typehint | Default | |||||
get_instance | ||||||||
__construct | ||||||||
oembed_handler | ||||||||
get_oembed_no_edit | ||||||||
get_oembed | ||||||||
hijack_oembed_cache_get | ||||||||
hijack_oembed_cache_set | ||||||||
cache_action | ||||||||
clean_stale_options_page_oembeds | ||||||||
class CMB2_Base | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
object_id | ||||||||
object_type | ||||||||
current_object_type | ||||||||
set_prop | ||||||||
prop | ||||||||
get_default_args | ||||||||
get_new_field | ||||||||
should_show | ||||||||
peform_param_callback | ||||||||
get_param_callback_result | ||||||||
unset_param_callback_cache | ||||||||
do_callback | ||||||||
maybe_callback | ||||||||
maybe_hook_parameter | ||||||||
maybe_hook | ||||||||
deprecated_param | ||||||||
__get | ||||||||
__call | ||||||||
class CMB2_Bootstrap_270_Develop | ||||||||
Method | Argument | Typehint | Default | |||||
initiate | ||||||||
__construct | ||||||||
include_cmb | ||||||||
l10ni18n | ||||||||
class CMB2_Boxes | ||||||||
Method | Argument | Typehint | Default | |||||
add | ||||||||
remove | ||||||||
get | ||||||||
get_all | ||||||||
get_by | ||||||||
filter_by | ||||||||
get_by_property | ||||||||
class CMB2_Display_Checkbox | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Colorpicker | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_File | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
file_output | ||||||||
class CMB2_Display_File_List | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Multicheck | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_oEmbed | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Select | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Taxonomy_Multicheck | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Taxonomy_Radio | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Text_Date | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Text_Date_Timezone | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Text_Money | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Text_Time | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Text_Url | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Textarea | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Display_Textarea_Code | ||||||||
Method | Argument | Typehint | Default | |||||
_display | ||||||||
class CMB2_Field | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
__call | ||||||||
id | ||||||||
args | ||||||||
_data | ||||||||
value | ||||||||
get_data | ||||||||
update_data | ||||||||
remove_data | ||||||||
data_args | ||||||||
sanitization_cb | ||||||||
save_field_from_data | ||||||||
save_field | ||||||||
escaping_exception | ||||||||
repeatable_exception | ||||||||
has_args_method | ||||||||
escaped_value | ||||||||
val_or_default | ||||||||
field_timezone_offset | ||||||||
field_timezone | ||||||||
format_timestamp | ||||||||
get_timestamp_format | ||||||||
get_timestamp_from_value | ||||||||
render_field | ||||||||
render_field_callback | ||||||||
label | ||||||||
row_classes | ||||||||
render_column | ||||||||
get_rest_value | ||||||||
get_supporting_field | ||||||||
display_value_callback | ||||||||
replace_hash | ||||||||
get_string | ||||||||
options | ||||||||
set_options | ||||||||
add_js_dependencies | ||||||||
register_js_data | ||||||||
js_data | ||||||||
hash_id | ||||||||
group_id | ||||||||
get_default | ||||||||
_set_field_defaults | ||||||||
set_field_defaults_group | ||||||||
set_field_defaults_wysiwyg | ||||||||
set_field_defaults_all_or_nothing_types | ||||||||
set_group_sub_field_defaults | ||||||||
get_default_field_args | ||||||||
get_default_args | ||||||||
get_field_clone | ||||||||
get_cmb | ||||||||
convert_deprecated_params | ||||||||
class CMB2_Field_Display | ||||||||
Method | Argument | Typehint | Default | |||||
get | ||||||||
__construct | ||||||||
display | ||||||||
_display | ||||||||
class CMB2_Hook_Finder | ||||||||
Method | Argument | Typehint | Default | |||||
get_files | ||||||||
get_hook_link | ||||||||
process_hooks | ||||||||
wp_list_filter | ||||||||
class CMB2_Hookup | ||||||||
Method | Argument | Typehint | Default | |||||
maybe_init_and_hookup | ||||||||
universal_hooks | ||||||||
post_hooks | ||||||||
comment_hooks | ||||||||
user_hooks | ||||||||
term_hooks | ||||||||
options_page_hooks | ||||||||
register_styles | ||||||||
register_js | ||||||||
register_scripts | ||||||||
do_scripts | ||||||||
register_column_headers | ||||||||
column_display | ||||||||
columns_sortable | ||||||||
columns_sortable_orderby | ||||||||
return_column_display | ||||||||
add_context_metaboxes | ||||||||
output_context_metabox | ||||||||
context_box_title_markup_open | ||||||||
context_box_title_markup_close | ||||||||
add_metaboxes | ||||||||
remove_default_tax_metaboxes | ||||||||
postbox_classes | ||||||||
alternate_context_postbox_classes | ||||||||
metabox_callback | ||||||||
user_new_metabox | ||||||||
user_metabox | ||||||||
term_metabox | ||||||||
show_form_for_type | ||||||||
show_on | ||||||||
get_priority | ||||||||
save_post | ||||||||
save_comment | ||||||||
save_user | ||||||||
save_term | ||||||||
delete_term | ||||||||
can_save | ||||||||
taxonomy_can_save | ||||||||
maybe_enqueue_column_display_styles | ||||||||
enqueue_cmb_css | ||||||||
enqueue_cmb_js | ||||||||
class CMB2_Hookup_Base | ||||||||
Method | Argument | Typehint | Default | |||||
maybe_init_and_hookup | ||||||||
__construct | ||||||||
universal_hooks | ||||||||
once | ||||||||
__get | ||||||||
class CMB2_JS | ||||||||
Method | Argument | Typehint | Default | |||||
add_dependencies | ||||||||
add_field_data | ||||||||
enqueue | ||||||||
register_colorpicker_alpha | ||||||||
register_datetimepicker | ||||||||
colorpicker_frontend | ||||||||
localize | ||||||||
class CMB2_Option | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
delete_option | ||||||||
remove | ||||||||
get | ||||||||
update | ||||||||
set | ||||||||
get_options | ||||||||
__get | ||||||||
class CMB2_Options | ||||||||
Method | Argument | Typehint | Default | |||||
get | ||||||||
class CMB2_Options_Hookup | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
hooks | ||||||||
options_page_menu_hooks | ||||||||
maybe_register_message | ||||||||
options_page_output | ||||||||
maybe_output_settings_notices | ||||||||
get_tab_group_tabs | ||||||||
options_page_metabox | ||||||||
save_options | ||||||||
network_get_override | ||||||||
network_update_override | ||||||||
is_page | ||||||||
__get | ||||||||
class CMB2_REST | ||||||||
Method | Argument | Typehint | Default | |||||
maybe_init_and_hookup | ||||||||
__construct | ||||||||
universal_hooks | ||||||||
init_routes | ||||||||
register_cmb2_fields | ||||||||
register_rest_field | ||||||||
declare_read_edit_fields | ||||||||
can_read | ||||||||
can_edit | ||||||||
get_post_rest_values | ||||||||
get_user_rest_values | ||||||||
get_comment_rest_values | ||||||||
get_term_rest_values | ||||||||
get_rest_values | ||||||||
get_box_rest_values | ||||||||
update_post_rest_values | ||||||||
update_user_rest_values | ||||||||
update_comment_rest_values | ||||||||
update_term_rest_values | ||||||||
update_rest_values | ||||||||
santize_box_rest_values | ||||||||
sanitize_box_values | ||||||||
sanitize_field_value | ||||||||
sanitize_group_value | ||||||||
is_protected_meta | ||||||||
get_object_id | ||||||||
field_can_read | ||||||||
field_can_edit | ||||||||
field_can | ||||||||
get_rest_box | ||||||||
remove | ||||||||
get_all | ||||||||
is_readable | ||||||||
is_editable | ||||||||
__get | ||||||||
class CMB2_REST_Controller | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
maybe_hook_callback_and_apply_filters | ||||||||
maybe_hook_registered_callback | ||||||||
maybe_unhook_registered_callback | ||||||||
prepare_item | ||||||||
get_cb_results | ||||||||
prepare_item_for_response | ||||||||
initiate_rest_read_box | ||||||||
initiate_rest_edit_box | ||||||||
initiate_rest_box | ||||||||
initiate_request | ||||||||
get_intial_request_type | ||||||||
get_intial_route | ||||||||
get_item_schema | ||||||||
prepare_links | ||||||||
get_query_string | ||||||||
class CMB2_REST_Controller_Boxes | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
register_routes | ||||||||
get_items_permissions_check | ||||||||
get_items | ||||||||
get_item_permissions_check | ||||||||
get_item_permissions_check_filter | ||||||||
get_item | ||||||||
get_rest_box | ||||||||
prepare_links | ||||||||
class CMB2_REST_Controller_Fields | ||||||||
Method | Argument | Typehint | Default | |||||
register_routes | ||||||||
get_items_permissions_check | ||||||||
get_items | ||||||||
get_item_permissions_check | ||||||||
get_item_permissions_check_filter | ||||||||
get_item | ||||||||
update_item_permissions_check | ||||||||
update_item | ||||||||
delete_item_permissions_check | ||||||||
delete_item | ||||||||
modify_field_value | ||||||||
prepare_read_field | ||||||||
prepare_field_response | ||||||||
prepare_field_data | ||||||||
get_supporting_data | ||||||||
prepare_links | ||||||||
maybe_hook_registered_callback | ||||||||
maybe_unhook_registered_callback | ||||||||
class CMB2_Sanitize | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
__call | ||||||||
default_sanitization | ||||||||
_default_sanitization | ||||||||
taxonomy | ||||||||
checkbox | ||||||||
text_url | ||||||||
colorpicker | ||||||||
text_email | ||||||||
text_money | ||||||||
text_date_timestamp | ||||||||
text_datetime_timestamp | ||||||||
text_datetime_timestamp_timezone | ||||||||
textarea | ||||||||
textarea_code | ||||||||
file | ||||||||
_get_group_file_value_array | ||||||||
_save_file_id_value | ||||||||
_save_utc_value | ||||||||
_new_supporting_field | ||||||||
_check_repeat | ||||||||
_is_empty_array | ||||||||
class CMB2_Show_Filters | ||||||||
Method | Argument | Typehint | Default | |||||
get_show_on_key | ||||||||
get_show_on_value | ||||||||
check_id | ||||||||
check_page_template | ||||||||
check_admin_page | ||||||||
class CMB2_Type_Base | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
render | ||||||||
rendered | ||||||||
get_rendered | ||||||||
parse_args | ||||||||
parse_args_from_overrides | ||||||||
__call | ||||||||
__get | ||||||||
class CMB2_Type_Checkbox | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
render | ||||||||
class CMB2_Type_Colorpicker | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
render | ||||||||
dequeue_rgba_colorpicker_script | ||||||||
class CMB2_Type_Counter_Base | ||||||||
Method | Argument | Typehint | Default | |||||
char_counter_markup | ||||||||
maybe_update_attributes_for_char_counter | ||||||||
enforce_max | ||||||||
class CMB2_Type_File | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
get_file_preview_output | ||||||||
get_id_field_output | ||||||||
get_id_field | ||||||||
class CMB2_Type_File_Base | ||||||||
Method | Argument | Typehint | Default | |||||
is_valid_img_ext | ||||||||
img_status_output | ||||||||
file_status_output | ||||||||
output_js_underscore_templates | ||||||||
get_image_size_data | ||||||||
prepare_image_sizes_for_js | ||||||||
class CMB2_Type_File_List | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Multi_Base | ||||||||
Method | Argument | Typehint | Default | |||||
select_option | ||||||||
list_input | ||||||||
list_input_checkbox | ||||||||
concat_items | ||||||||
class CMB2_Type_Multicheck | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Oembed | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Picker_Base | ||||||||
Method | Argument | Typehint | Default | |||||
parse_picker_options | ||||||||
class CMB2_Type_Radio | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
render | ||||||||
ul | ||||||||
class CMB2_Type_Select | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Select_Timezone | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Taxonomy_Base | ||||||||
Method | Argument | Typehint | Default | |||||
get_object_terms | ||||||||
options_terms | ||||||||
non_post_object_terms | ||||||||
get_terms | ||||||||
no_terms_result | ||||||||
get_object_term_or_default | ||||||||
loop_terms | ||||||||
build_children | ||||||||
child_option_output | ||||||||
class CMB2_Type_Taxonomy_Multicheck | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
get_term_options | ||||||||
loop_terms | ||||||||
list_term_input | ||||||||
get_object_term_or_default | ||||||||
get_wrapper_classes | ||||||||
class CMB2_Type_Taxonomy_Multicheck_Hierarchical | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
list_term_input | ||||||||
class CMB2_Type_Taxonomy_Radio | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
get_term_options | ||||||||
loop_terms | ||||||||
list_term_input | ||||||||
class CMB2_Type_Taxonomy_Radio_Hierarchical | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
list_term_input | ||||||||
class CMB2_Type_Taxonomy_Select | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
get_term_options | ||||||||
loop_terms | ||||||||
class CMB2_Type_Taxonomy_Select_Hierarchical | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
select_option | ||||||||
child_option_output | ||||||||
class CMB2_Type_Text | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
render | ||||||||
class CMB2_Type_Text_Date | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Text_Datetime_Timestamp | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
date_args | ||||||||
time_args | ||||||||
class CMB2_Type_Text_Datetime_Timestamp_Timezone | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Text_Time | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Textarea | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Textarea_Code | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Title | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
class CMB2_Type_Wysiwyg | ||||||||
Method | Argument | Typehint | Default | |||||
render | ||||||||
sanitize_id | ||||||||
get_wp_editor | ||||||||
add_wysiwyg_template_for_group | ||||||||
class CMB2_Types | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
__call | ||||||||
render | ||||||||
_render | ||||||||
proxy_method | ||||||||
guess_type_object | ||||||||
maybe_proxy_method | ||||||||
maybe_custom_field_object | ||||||||
get_new_render_type | ||||||||
get_render_type_class | ||||||||
_text | ||||||||
get_file_ext | ||||||||
get_file_name_from_path | ||||||||
concat_attrs | ||||||||
render_repeatable_field | ||||||||
repeatable_rows | ||||||||
repeat_row | ||||||||
_desc | ||||||||
_name | ||||||||
_id | ||||||||
input | ||||||||
textarea | ||||||||
text | ||||||||
hidden | ||||||||
text_small | ||||||||
text_medium | ||||||||
text_email | ||||||||
text_url | ||||||||
text_money | ||||||||
textarea_small | ||||||||
textarea_code | ||||||||
wysiwyg | ||||||||
text_date | ||||||||
text_date_timestamp | ||||||||
text_time | ||||||||
text_datetime_timestamp | ||||||||
text_datetime_timestamp_timezone | ||||||||
select_timezone | ||||||||
colorpicker | ||||||||
title | ||||||||
select | ||||||||
taxonomy_select | ||||||||
taxonomy_select_hierarchical | ||||||||
radio | ||||||||
radio_inline | ||||||||
multicheck | ||||||||
multicheck_inline | ||||||||
checkbox | ||||||||
taxonomy_radio | ||||||||
taxonomy_radio_hierarchical | ||||||||
taxonomy_radio_inline | ||||||||
taxonomy_multicheck | ||||||||
taxonomy_multicheck_hierarchical | ||||||||
taxonomy_multicheck_inline | ||||||||
oembed | ||||||||
file_list | ||||||||
file | ||||||||
class CMB2_Utils | ||||||||
Method | Argument | Typehint | Default | |||||
image_id_from_url | ||||||||
get_available_image_sizes | ||||||||
get_named_size | ||||||||
timezone_offset | ||||||||
timezone_string | ||||||||
make_valid_time_stamp | ||||||||
is_valid_time_stamp | ||||||||
isempty | ||||||||
notempty | ||||||||
filter_empty | ||||||||
array_insert | ||||||||
url | ||||||||
get_url_from_dir | ||||||||
get_normalized_abspath | ||||||||
normalize_path | ||||||||
get_timestamp_from_value | ||||||||
php_to_js_dateformat | ||||||||
wrap_escaped_chars | ||||||||
log_if_debug | ||||||||
get_file_ext | ||||||||
get_file_name_from_path | ||||||||
wp_at_least | ||||||||
concat_attrs | ||||||||
is_data_attribute | ||||||||
ensure_array | ||||||||
normalize_if_numeric | ||||||||
generate_hash | ||||||||
class WP_REST_Controller | ||||||||
Method | Argument | Typehint | Default | |||||
register_routes | ||||||||
get_items_permissions_check | ||||||||
get_items | ||||||||
get_item_permissions_check | ||||||||
get_item | ||||||||
create_item_permissions_check | ||||||||
create_item | ||||||||
update_item_permissions_check | ||||||||
update_item | ||||||||
delete_item_permissions_check | ||||||||
delete_item | ||||||||
prepare_item_for_database | ||||||||
prepare_item_for_response | ||||||||
prepare_response_for_collection | ||||||||
filter_response_by_context | ||||||||
get_item_schema | ||||||||
get_public_item_schema | ||||||||
get_collection_params | ||||||||
get_context_param | ||||||||
add_additional_fields_to_object | ||||||||
update_additional_fields_for_object | ||||||||
add_additional_fields_schema | ||||||||
get_additional_fields | ||||||||
get_object_type | ||||||||
get_endpoint_args_for_item_schema | ||||||||
get_post |