• Hello,
    I red this topic but I didn’t find what I am looking for.
    I would change the order of the hooks that we have in /wp-content/plugins/essential-real-estate/public/class-ere-template-hooks.php file but it seems not possible.
    I tried to copy and edit this file in /ere-templates/ folder but, after modified it, I don’t see my updating.
    Is there the way to do this?
    Thank you very much for your support

    • This topic was modified 4 years, 2 months ago by keyascii.

    The page I need help with: [log in to see the link]

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

    (@g5theme)

    Can you tell me what you want? and why you want modify hooks order?
    I will discussion with our team about it, then can change or not.

    Thread Starter keyascii

    (@keyascii)

    Thank you for your reply. You can see what I want here because I made the changes I wonted.
    As you can see, I have reduced the gallery to 70% and moved its left the location details so I guess that the order should be:

    $this->loader->add_action('ere_single_property_summary', $this, 'single_property_header', 5);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_gallery', 10);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_location', 15);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_description', 20);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_features', 25);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_floors', 30);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_attachments', 35);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_map_directions', 40);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_nearby_places', 45);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_walk_score', 50);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_contact_agent', 55);
                $this->loader->add_action('ere_single_property_summary', $this, 'single_property_footer', 90);

    I have got this result editing wp-content/plugins/essential-real-estate/public/class-ere-template-hooks.php file but I have seen that it is not possible to copy this file in /mytheme/ere-templates/ folder.

    Thank you in advance for you reply

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modify hooks order’ is closed to new replies.