Can you edit geodirectory_hooks_actions.php in your child theme?

This topic contains 2 replies, has 3 voices, and was last updated by  Paolo 10 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #8823

    physicaltherapistcom
    Full Member
    Post count: 35

    Greetings,

    I’d like to make some changes to the geodirectory_hooks_actions.php file. For instance, I’d like to take the share stuff off of there, as well as make some minor adjustments to how things are laid out.

    I tried to put this into my child theme directory, as well as child-theme/geodirectory folder and it would not reflect the changes.

    Is there a way I can edit this file so I do not affect the core files? Please let me know.

    #8834

    Vikas
    Full Member
    Post count: 1128

    Hi,

    No there is no such way to do it right now.
    What u can do is, remove those actions, filters by writing appropriate code in your theme’s functions.php, refer these.
    http://codex.wordpress.org/Function_Reference/remove_action

    http://codex.wordpress.org/Function_Reference/remove_filter
    and add your own actions and filters on available hooks.

    Thanks

    #8907

    Paolo
    Site Admin
    Post count: 31206

    Hi, you can also see various real examples in the forum by just searching

    remove_filter or add_filter.

    Example: https://wpgeodirectory.com/support/search/?bbp_search=add_filter

    Thx

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount