Hi,
i am not aware of any profanity filter plugin so i can’t tell if there is something that will work with WPAdverts.
One thing you can try is to change the priority with which adverts_the_content filter is run, you can do that by adding the code below in your theme functions.php file
add_action( "init", "set_priority_for_wpadverts_the_content", 20 );
function set_priority_for_wpadverts_the_content() {
remove_filter('the_content', 'adverts_the_content', 9999);
add_filter('the_content', 'adverts_the_content', 10 );
}
If the code will not work try also changing the “10” to “5”.
One other way to apply the profanity filter to Ad details pages would be to use a code like this
add_filter( "adverts_the_content", "PROFANITY_FILTER", 1000 );
where PROFANITY_FILTER is a name of the function that will filter the content, so to find out the actual filter name you would need to ask the plugin support.
OK I have to check carefully how to run the filters after these settings. I’ll keep you posted.
Well i found the plugin WP Content Filter. When is Stock, censors the Title only.
I had to do some plugin customizations on it so it can cover the ad content, but i’m having a hard time with the excerpt (custom field).
Since the details correspond to their support page, i guess that will work for me until i figure out the excerpt conflict.
Shame that their forum is 2 years frozen