• So Far the Plugin works great!
    To finish it I would like to change the text of the button by using the

    /**
    * Change the Favorites Preset Button HTML (Unfavorited)
    */
    add_filter( 'favorites/button/text/default', 'custom_favorites_button_html' );
    function custom_favorites_button_html($html)
    {
    	return $html;
    }
    
    /**
    * Change the Favorites Preset Button HTML (Favorited)
    */
    add_filter( 'favorites/button/text/active', 'custom_favorites_button_html_active' );
    function custom_favorites_button_html_active($html)
    {
    	return $html;
    }

    Funktion. But somehow it is not working.

    Hope somebody can help
    Thanks

    • This topic was modified 5 years, 11 months ago by j0hann.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Text Function not working’ is closed to new replies.