WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
12/14/2012 08:31:08 PM (5 years ago)
Author:
fernandopasik
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22773, comment 1

    initial v1  
    11I would like this too, but it doesn't seem to hard to do.
    2 At least to add a field to the gallery shortcut output we just need an action hook in line 375 if media-template.php.
    3 With just that, adding a new input there it will be on the resulting shortcode, example:
     2
     3At least to add a field to the gallery shortcut output we just need an action hook in line 375 of media-template.php.
     4With just that, adding a new input there it will be on the resulting shortcode.
     5
     6For example if we add through the action hook html code like this:
    47
    58<label class="setting">