public
Last active

WP Document Revisions Simple Downloads plugin - list of Hooks & Filters for customizations; since plugin version 1.0.0 // Plugin page at WordPress.org: http://wordpress.org/extend/plugins/wpdr-simple-downloads/

  • Download Gist
wpdr-simple-downloads-custom.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
<?php
 
/** (1) ALL HOOKS: */
 
/** "Taxonomy" widget: */
add_action( 'wpdrsd_before_taxonomy_widget', '' );
add_action( 'wpdrsd_after_taxonomy_widget', '' );
 
/** "Search Downloads" widget: */
add_action( 'wpdrsd_before_search_widget', '' );
add_action( 'wpdrsd_after_search_widget', '' );
 
/** "Popular Downloads" widget: */
add_action( 'wpdrsd_before_popular_downloads_widget', '' );
add_action( 'wpdrsd_after_popular_downloads_widget', '' );
 
/** Admin settings tabs: */
add_action( 'wpdrsd_settings_tab', '' );
add_action( 'wpdrsd_usage_tab_after', '' );
 
/** Downloads meta box: */
add_action( 'wpdrsd_download_meta_box_before', '' );
add_action( 'wpdrsd_download_meta_box_after', '' );
 
 
/** (2) ALL FILTERS */
 
/** Taxonomy registering: */
add_filter( 'wpdrsd_filter_file_category_labels', '' );
add_filter( 'wpdrsd_filter_file_category_rewrite', '' );
add_filter( 'wpdrsd_filter_file_tag_labels', '' );
add_filter( 'wpdrsd_filter_file_tag_rewrite', '' );
 
/** Downloads list (Document list) admin table: */
add_filter( 'wpdrsd_filter_file_category_column_title', '' );
add_filter( 'wpdrsd_filter_file_tag_column_title', '' );
 
/** Plugin help tabs: */
add_filter( 'wpdrsd_filter_help_usage_content', '' );
add_filter( 'wpdrsd_filter_help_widgets_content', '' );
add_filter( 'wpdrsd_filter_help_links_copyright_content', '' );
add_filter( 'wpdrsd_filter_help_sidebar_content', '' );
add_filter( 'wpdrsd_filter_help_sidebar_content_extra', '' );
 
/** Admin plugin listing: */
add_filter( 'wpdrsd_filter_settings_page_link', '' );
add_filter( 'wpdrsd_filter_plugin_links', '' );
 
/** "Search Downloads" widget: */
add_filter( 'wpdrsd_filter_widget_label_string', '' );
add_filter( 'wpdrsd_filter_widget_placeholder_string', '' );
add_filter( 'wpdrsd_filter_widget_search_string', '' );
add_filter( 'wpdrsd_filter_widget_search_form', '' );
add_filter( 'wpdrsd_filter_widget_search_downloads_defaults', '' );
 
/** "Popular Downloads" widget: */
add_filter( 'wpdrsd_filter_widget_popular_download_title', '' );
add_filter( 'wpdrsd_filter_widget_popular_downloads_content', '' );
add_filter( 'wpdrsd_filter_widget_popular_downloads_defaults', '' );

Note: The above codes work with plugin version 1.0.0 or higher!

Extended explanation can be found at the plugin's page "FAQ" section:
http://wordpress.org/extend/plugins/wpdr-simple-downloads/faq/ (Upcoming...)

Download "WP Document Revisions Simple Downloads" plugin at WordPress.org:
http://wordpress.org/extend/plugins/wpdr-simple-downloads/

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.