is_acpt_field_visible
is_acpt_field_visible
Check if a field is visible or not (based on its value).
Usage
Parameters
post_id
(integer) (Required if term_id, user_id and option_page are null) The post IDterm_id
(integer) (Required if post_id, user_id and option_page are null) The term IDuser_id
(integer) (Required if post_id, term_id and option_page are null) The user IDoption_page
(string) (Required if post_id, term_id and user_id are null) The option page slugbox_name
(string) (Required) The box namefield_name
(string) (Required) The field nameparent_field_name
(string) (Optional) The parent field name, only for Repeater/Flexible nested fieldsindex
(integer) (Optional) The field numeric index, only for Repeater/Flexible nested fieldsblock_name
(string) (Optional) The parent block name, only for Flexible nested fieldsblock_index
(integer) (Optional) The parent block numeric index, only for Flexible nested fields
Return
boolean
Last updated