asp_file_contents_before_tokenize
This filter runs just before the attachment file contents are processed and cleared from HTML etc.., before it is passed to the tokenization process.
Parameters
$contents(string) - the post content
$post(WP_Post) - post type object (media library item)
Last updated