Removing the podPress footer completely

Even when the ‘Show PodPress footer’ is unticked in the PodPress admin, the plugin still cranks out html code in a div with the style ‘display: none’. The following bit of code, placed in a Wordpress plugin, will remove that pesky bit of promotional code.

function p2m_remove_podpress_footer () {
        remove_action('wp_footer','podPress_wp_footer');
}
add_action('wp_footer','p2m_remove_podpress_footer', 9);

Nothing spectacular, of course. Worth noting might be that the default priority of an action is 10, so giving our removal action a priority of 9 ensures that this code runs before that of Podpress’.

Tags: , ,

Leave a Reply