Changes between Initial Version and Version 1 of Ticket #43559, comment 3
- Timestamp:
- 04/15/2018 08:30:26 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43559, comment 3
initial v1 22 22 So you have no way to add a custom field with a blank value. 23 23 24 I have a JS listener that does a standard WP REST call to fetch the post with full meta. I use this to remotely configure plugins, so if a setting for a text field, call it "Search Box Title" should be set to BLANK I cannot do this. I am now sending and in the listener I then have to do if $json_data[ 'search_box_title' ] === ' ' $json_data['search_box_title']='';24 I have a JS listener that does a standard WP REST call to fetch the post with full meta. I use this to remotely configure plugins, so if a setting for a text field, call it "Search Box Title" should be set to BLANK I cannot do this. I am now sending and in the listener I then have to do `if $json_data[ 'search_box_title' ] === ' ' $json_data['search_box_title']='';` 25 25 26 26 Not I cannot set my "custom_html' setting to