Found the answer. Apparently plugins don’t work on get_the_content()
, so I used the output buffering example below. I found it here
ob_start();
the_content();
$newContent = ob_get_clean();
Found the answer. Apparently plugins don’t work on get_the_content()
, so I used the output buffering example below. I found it here
ob_start();
the_content();
$newContent = ob_get_clean();