Support » Plugin: Easy Popup Announcement » Feature proposal: Content filter

  • Resolved Jürgen Aloy

    (@yoonic)


    Hi!
    Thank you very much for this handy plugin!

    We have a proposal for an improvement: It would be great if you
    could apply the filter “the_content” the the Popup content so,
    that shortcodes used in the Popup content are applied.

    As example we’ve implemented the change for the shortcode use of
    the Popup:

    $epa_html .= '<div id="my_popup" class="well"><span class="my_popup_close"></span>';
    $epa_html .= apply_filters( 'the_content', $default_popup->post_content );
    $epa_html .= '</div>';

    in inc/shortcode.php@25-27

    Basically you only need to wrap the Popup content in the apply_filters function.

    Thank you very much in advance!

    Kind regards

    • This topic was modified 1 year, 12 months ago by Jürgen Aloy.
  • The topic ‘Feature proposal: Content filter’ is closed to new replies.