acpt_field
acpt_field
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 namedate_format
(string) (Optional) The date format (for Date, DateTime, and Date range fields)time-format
(string) (Optional) The time format (for Time and DateTime fields)width
(string) (Optional) The element width (for Image, Video, and Gallery fields)height
(string) (Optional) The element height (for Image, Video, and Gallery fields)target
(string) (Optional) The target of a link (for URL fields)elements
(string) (Optional) The number of elements per row (for Gallery fields)
Return
string|html
Last updated