Plugin Directory

Changeset 621726

Timestamp:
11/06/2012 03:41:04 PM (12 years ago)
Author:
dougal
Message:

allow CSS stylesheet URL to be filtered

Location:
documents-shortcode/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • documents-shortcode/trunk/documents-shortcode.php

    r597689 r621726  
    55Description: Shortcode to display a list of attached documents, optionally filtered by mime-type and/or file extension.
    66Author: Dougal Campbell
    7 Version: 1.0
     7Version: 1.0
    88Min WP Version: 2.5
    99Author URI: http://dougal.gunters.org/
     
    9090    if ( is_admin() ) return;
    9191   
    92     wp_register_style( 'dc_document_shortcode' , plugins_url( 'dc_documents.css', __FILE__ ) );
     92    $css_url = apply_filters( 'dc_document_shortcode_css_url', plugins_url( 'dc_documents.css', __FILE__ ) );
     93   
     94    wp_register_style( 'dc_document_shortcode' , $css_url );
    9395    wp_enqueue_style( 'dc_document_shortcode' );
    9496}
  • documents-shortcode/trunk/readme.txt

    r597691 r621726  
    113113
    114114== Changelog ==
     115
     116
     117
    115118= 1.0 =
    116119* Initial release. 2012-09-10
Note: See TracChangeset for help on using the changeset viewer.