Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #22773, comment 1


Ignore:
Timestamp:
06/30/2014 10:26:57 PM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22773, comment 1

    v1 v2  
    55
    66For example if we add through the action hook html code like this:
    7 
     7{{{
    88<label class="setting">
    99        <span><?php _e( 'custom_field' ); ?></span>
    1010        <input type="checkbox" data-setting="custom_field" />
    1111</label>
    12 
     12}}}
    1313in the shortcut code there will be a custom_field=true, because the media-editor.js already deals with other arguments we add there.