Pages

Sunday, 17 November 2019

How to call an action in wordpress

do_action("function tagname")

Before the action is called,we must define our calling function in functions.php
<?php
function test(){
    echo "<h2>Hellow Function</h2>";
    }
add_action("test",test);
?>

Calling function

do_action("test")

1 comment:

  1. Do you realize there is a 12 word sentence you can communicate to your partner... that will induce deep feelings of love and impulsive attractiveness for you buried within his chest?

    Because deep inside these 12 words is a "secret signal" that fuels a man's impulse to love, adore and care for you with all his heart...

    ====> 12 Words That Fuel A Man's Desire Response

    This impulse is so built-in to a man's mind that it will drive him to try better than before to love and admire you.

    In fact, fueling this powerful impulse is so essential to having the best ever relationship with your man that as soon as you send your man one of the "Secret Signals"...

    ...You'll soon find him open his soul and mind for you in a way he's never expressed before and he will recognize you as the one and only woman in the world who has ever truly appealed to him.

    ReplyDelete