Skip to:
Content
Pages
Categories
Search
Top
Bottom

"bbp_plugin_dir_url" filter not working?


  • mjjinvincible
    Participant

    @mjjinvincible

    I just put this filter inside bbpress-functions.php, but it seems not to be executing the function… could you please help me? I’m stuck…

    add_filter('bbp_plugin_dir_url', '_bbp_plugin_dir_url');
    function _bbp_plugin_dir_url($plugin_dir_url) {
    	return str_replace("/home/content/12345/html/content/plugins", "", $plugin_dir_url);
    }

    Thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar