WordPress.org

Ready to get started?Download WordPress

Forums

ShortCodes UI
[resolved] Shortcode UI compatibility with digiprove (2 posts)

  1. golfy
    Member
    Posted 1 year ago #

    hi there.

    pls have a look at this support thread.

    http://wordpress.org/support/topic/digiprove-notices-on-my-post-right-after-short-code-from-short-code-ui?replies=5#post-3746412

    is there anyway i can remove digiprove for shortcodes UI?

    regards

    http://wordpress.org/extend/plugins/shortcodes-ui/

  2. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    There are Two way:

    1. contact that plugin developer and tell him his code should only filter public post types!

    2. try removing the other plugin filters when not needed, something like this:

    add_action('scui_external_hooks_remove','remove_digi_from_shortcode');
    function remove_digi_from_shortcode(){
    	remove_filter( "the_content", "dprv_display_content" );
    }
    
    add_action('scui_external_hooks_return','return_digi_for_other_types');
    function return_digi_for_other_types(){
    	add_filter( "the_content", "dprv_display_content" );
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.