delete_acpt_meta_field_value

delete_acpt_meta_field_value

Delete meta field value.

Usage

delete_acpt_meta_field_value([
    '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 ID

  • term_id (integer) (Required if post_id, user_id and option_page are null) The term ID

  • user_id (integer) (Required if post_id, term_id and option_page are null) The user ID

  • option_page (string) (Required if post_id, term_id and user_id are null) The option page slug

  • box_name (string) (Required) The box name

  • field_name (string) (Required) The field name

Return

  • boolean

Last updated