WordPress.org

Plugin Directory

Changeset 516066


Ignore:
Timestamp:
03/07/12 21:41:21 (2 years ago)
Author:
mattwiebe
Message:

fix documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • image-widget/trunk/readme.txt

    r516062 r516066  
    6060Edit the new file to your hearts content. Please do not edit the one in the plugin folder as that will cause conflicts when you update the plugin to the latest release. 
    6161 
    62 New in 3.2: You may now also use the "sp_template_image-widget_widget" filter to override the default template behavior for .php template files. Eg: if you wanted widget.php to reside in a folder called my-custom-templates/ and wanted it to be called my-custom-name.php: 
    63  
    64 `add_filter('sp_template_image-widget_widget', 'my_template_filter'); 
     62New in 3.2: You may now also use the "sp_template_image-widget_widget.php" filter to override the default template behavior for .php template files. Eg: if you wanted widget.php to reside in a folder called my-custom-templates/ and wanted it to be called my-custom-name.php: 
     63 
     64`add_filter('sp_template_image-widget_widget.php', 'my_template_filter'); 
    6565function my_template_filter($template) { 
    6666    return get_template_directory() . '/my-custom-templates/my-custom-name.php'; 
Note: See TracChangeset for help on using the changeset viewer.