- Author was Featured
- Has been a member for 4-5 years
- Author had a Free File of the Month
- Sold between 100 000 and 250 000 dollars
- Bought between 10 and 49 items
- Europe
- Exclusive Author
- Referred between 200 and 499 users
How can one do this? Is there a short function you guys can share?
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 250 000 and 1 000 000 dollars
- Author was Featured
- Item was Featured
- Attended a Community Meetup
- Referred between 100 and 199 users
- Contributed a Tutorial to a Tuts+ Site
strip_shortcodes();
Phoenix said
strip_shortcodes();
Yup, +1
http://codex.wordpress.org/Function_Reference/strip_shortcodes
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 250 000 and 1 000 000 dollars
- Author was Featured
- Item was Featured
- Attended a Community Meetup
- Referred between 100 and 199 users
- Contributed a Tutorial to a Tuts+ Site
wpCanyonThemes said
Phoenix said
strip_shortcodes();Use [ and ]
[ ]
That was the first thing I tried and didnt work.
Phoenix said
wpCanyonThemes saidThat was the first thing I tried and didnt work.
Phoenix said
strip_shortcodes();Use [ and ]
[ ]
Dunno works for me.
- Attended a Community Meetup
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
wpCanyonThemes said
Phoenix saidDunno works for me.
wpCanyonThemes saidThat was the first thing I tried and didnt work.
Phoenix said
strip_shortcodes();Use [ and ]
[ ]
Works for me too, but I think it’s [ and ]
Parallelus said
wpCanyonThemes saidWorks for me too, but I think it’s
Phoenix saidDunno works for me.
wpCanyonThemes saidThat was the first thing I tried and didnt work.
Phoenix said
strip_shortcodes();Use [ and ]
[ ][and]
Yup, but they both work 
I used this Text to ASCII converter earlier today http://getyourwebsitehere.com/jswb/text_to_ascii.html
Just put the full shortcode in.
maybe a regex? and strip_shortcodes and run it through the_content filter
<?php function hello_world($content)
{
if (preg_match('#\<pre?>(.+?)\<\/pre\>#s', $content, $matches)) {
$content = strip_shortcodes($matches[1]);
}
}
add_filter('the_content', 'hello_world');
?></pre>