Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Add filter for disable strip_tags and trim $content #21

@casepress

Description

@casepress

Hi Kat!
I need a hook off the filter message content.
Here https://github.com/codebykat/wp-post-by-email/blob/master/class-post-by-email.php#L687

Add filter as apply_filters( 'content_filter_disable', false );

Such as filter 'p2be_email_replies_enabled' in https://github.com/humanmade/P2-By-Email/

And swith function as add_filter( 'content_filter_disable', '__return_true' );

Example https://codeo.me/3GM

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions