brizy wordpress shit. had to google my own article
This commit is contained in:
parent
fd19aae00f
commit
802057e81c
|
@ -35,7 +35,10 @@ Actually, injecting post content using that shortcode comes with a big shortcomi
|
|||
|
||||
```php
|
||||
function su_post_content_filter($value) {
|
||||
return apply_shortcodes($value);
|
||||
// add your dirty hacks using preg_replace BEFORE apply_shortcodes that hijacks your embeds!
|
||||
// remember: these won't work for RSS feeds. Better to use add_shortcode().
|
||||
$value = apply_shortcodes($value);
|
||||
return $value;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue