Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter chloebjohnston

    (@chloebjohnston)

    I’m afraid CSS won’t fix it in this case. If I alter the actual plugin files to change the wrap_content function to not add the “modal-ready” div, all is well. So if I could just unhook that function, but I can’t seem to get the code right. I feel like this should work, but it doesn’t. Do I have the class wrong, or am I just way off base?

    add_action( ‘wp_head’, ‘remove_modal_ready_id’ );
    function remove_modal_ready_id(){
    global $plugin_public;
    remove_action( ‘the_content’, array($plugin_public, ‘wrap_content’ ));
    };

    Thanks so much for your time!

Viewing 1 replies (of 1 total)