• Resolved thebeh

    (@thebeh)


    When disable course share in admin settings, the share buttons are removed but meta property still rendering in the <head>. With the SEO plugin active the meta property is duplicate. I tried remove_action( ‘wp_head’, array( ‘TUTOR\Course’, ‘social_share_content’ ) ); without success. Can you help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello!
    Use this code,

    add_action( 'wp_head', 'social_share_content', 9 );
    function social_share_content(){
        remove_action('wp_head', 'wp_head', 10, 2);
    }

    I hope your problem will be solved.
    Thanks

    Thread Starter thebeh

    (@thebeh)

    Yes! works perfectly. Thank you for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Course Share problem’ is closed to new replies.