• Ratnakar

    (@ratnakardubey)


    I’ve a custom functionality for WooCommerce Coupon, where any text can be saved via WordPress editor to coupon’s custom meta. This feature also sends this text to order email. The issue is when I’m sending new order notification from admin side, instead of the text, it’s showing a password field, asking to see that text, in email. This is because I’m applying filter the_content on WordPress editor content, which is a common practise.

    I checked code of Easy Custom Auto Export & found that the function tonjoo_ecae_execute is hooked to filter the_content which is internally checking post_password_required for all post type. This functions check for correct cookie, if not found it asks for password. My question is, is it necessary to add this filter for all post type or this functionality should be restricted to those post type where it is required.

Viewing 1 replies (of 1 total)
  • Plugin Contributor ageproem

    (@ageproem)

    Okay I will notice this to our plugin developer, thanks for using our plugin…

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict: Asking for post password on filter ‘the_content’’ is closed to new replies.