Okay
  Public Ticket #3386791
Remove page content with a hook
Closed

Comments

  •  45
    Clara started the conversation

    Hi,

    I would like to know how to remove the page content with a hook.
    I tried the following but it didn't work:

    remove_action('nectar_hook_before_content','nectar_fullpage_markup_open');

    Can you please help me on this one?

    Best regards,

    Clara.

  •  1,923
    Judith replied

    Hi Clara,

    Thanks for writing to us.

    Is it possible we can provide css instead as providing code customization is beyond our scope of support. However we have partnered with a trusted provider of expert-level Salient customization. If you are interested in initiating a project, we recommend referring to our guide at the following link: https://themenectar.com/salient/customization/

    Thanks.

  •  45
    Clara replied

    Oh, that's new... You used to help me with some PHP before. And that's completely related with your documentation. I just want to know if it's possible the way I did it...

  •  8,943
    Tahir replied

    Hey Again,

    You would actually have to edit the content filter. Please view : https://developer.wordpress.org/reference/hooks/the_content/ . 

    Thanks


    ThemeNectar Support Team 

  •  45
    Clara replied

    That's perfect, exactly what I needed!

    THANK YOU very much Tahir 😁