get_acpt_field
get_acpt_field
Fetch the field value.
Usage
get_acpt_field([
'post_id' => 123,
'box_name' => 'box',
'field_name' => 'field'
]);
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 name
Return
mixed
Last updated