Home / Archive / Remove Campaign Description
Duplicate Snippet

Embed Snippet on Your Site

Remove Campaign Description

Remove the campaign descriptions from the campaign loop (campaign shortcodes).

Code Preview
php
<?php
/**
 * Remove the campaign descriptions from the campaign loop.
 */
function en_remove_campaign_description_in_loop() {
    remove_action( 'charitable_campaign_content_loop_after', 'charitable_template_campaign_description', 4 );
}
add_action( 'after_setup_theme', 'en_remove_campaign_description_in_loop', 11 );

Comments

Add a Comment