• Resolved christian70

    (@christian70)


    Hi, I mean to use the plugin only on certain CPT or achives so I want to remove all frontend files when not needed (something like wp_dequeue_script( 'frontend_inline_style' ); and wp_dequeue_script( 'heateor_sss_sharing_js' );).

    The only thing I can’t successfully remove is the css inline style added in header. Is there any specific hook to do that?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Heateor Support

    (@heateor)

    Hi,

    You can use remove_action to remove the function from wp_head action which is adding the inline CSS.

    Thread Starter christian70

    (@christian70)

    Hi, thank you for your reply.

    I tried:

    global $Sassy_Social_Share_Public; 
    remove_action('wp_head', array($Sassy_Social_Share_Public, 'frontend_inline_style'));

    but it didn’t work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove inline style’ is closed to new replies.