Created
February 25, 2015 15:27
-
-
Save mototeam/e8236f4109cf90a222a2 to your computer and use it in GitHub Desktop.
MotoPress PressTicket Fix plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: MotoPress PressTicket Fix | |
Plugin URI: http://www.getmotopress.com/ | |
Description: Fixes an issue with PressTicket plugin by Toan Nguyen http://wpoffice.net/contact/. PressTicket plugin adds custom div to each the_content filter call. | |
Version: 1.0 | |
Author: MotoPress | |
Author URI: http://www.getmotopress.com/ | |
*/ | |
add_action('motopress_render_shortcode', 'pressticket_fix_motopress_render_shortcode'); | |
function pressticket_fix_motopress_render_shortcode() { | |
remove_action('the_content', 'wpo_ticket_after_single'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment