Hook to insert content at esites.pro/pro-site/ page

Hi, how can I add a content into esites.pro/pro-site/ through a hook? I am wanting to insert a button that will generate a billet there. Thank you!

  • Vaughan
    • Support/SLS MockingJay

    Hi @diegpl,

    Hope you’re well?

    I’ve been looking but i’m not entirely sure on this.

    Let me just ask one of our developers to see if he can give you some advice on this for you.

    Hopefully he should respond shortly, but could take a little longer than usual as we have a really high workload at moment.

    Thanks

  • Jude
    • DEV MAN

    Hey there diegpl

    Hey

    Sorry about the extreme delay here, it somehow slipped through the gaps. The hook we need to look at ( for lack of a more specific one ) is

    add_filter( 'the_content', array( &$this, 'checkout_output' ), 15 );

    Here you’d want to add a conditional to check if the slug is indeed the checkout page and append content to the $content variable

    Let us know if you still need help with this. Keeping my eyes open on this.

    Thank you for being a WPMU DEV member and have a fantastic day!

    Cheers

    Jude

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.