Support » Plugin: Email Encoder - Protect Email Addresses » Filter your final output

  • Resolved theml


    Hi Ikarus, thank you for your great plugin! 🙂

    I have a question and maybe you can help me. I would like to filter the final output of my page and I see your final_outout_buffer_hook. Is it possible to use something like add_filter( ‘final_outout_buffer_hook’, ‘my_function’ ); from outside? I could create a filter by myself, but I think, it is better to use yours for better performance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ironikus


    Hey @theml – Thank you a lot for your message, as well as for using our plugin.
    Down below you will find a code snippet that allows you to manipulate the already filtered content. If you want to filter it before our plugin filters it, simply adjust the hook priority.
    Feel free to let me know if you have any further questions. 🙂

    add_filter( EEB()->settings->get_final_outout_buffer_hook(), 'eeb_filter_main_site_content', 20 );
    function eeb_filter_main_site_content( $content ){
        //Edit the content here
        return $content;
    Thread Starter theml


    This works perfect very very big thank you <3

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.