How to remove the default markup of the coming soon text?
-
I have added following code to the functions.php file:
function edd_coming_soon_modify_text( $custom_text ) { return '<div class="custom-sold-out-txt">' . $custom_text . '</div>'; } add_filter( 'edd_coming_soon_display_text', 'edd_coming_soon_modify_text' );
But rendered output still contains the default code, like:
<div class="custom-sold-out-txt"> <p><strong>Sold Out</strong></p> </div>
How can I remove the following tags?
<p><strong></strong></p>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to remove the default markup of the coming soon text?’ is closed to new replies.