Skip to content

Commit

Permalink
fixed filter prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
themefuse committed Jun 13, 2015
1 parent 22601c7 commit b5f1e5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension/shortcodes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ It should look something like the following:
<?php if (!defined('FW')) die('Forbidden');
function disable_default_shortcodes($to_disable)
{
function _filter_theme_disable_default_shortcodes($to_disable) {
$to_disable[] = 'accordion';
$to_disable[] = 'button';
return $to_disable;
}
add_filter('fw_ext_shortcodes_disable_shortcodes', 'disable_default_shortcodes');
add_filter('fw_ext_shortcodes_disable_shortcodes', '_filter_theme_disable_default_shortcodes');
Creating a new shortcode
------------------------
Expand Down

0 comments on commit b5f1e5b

Please sign in to comment.