Wp Add_Action

add_action('wp_footer', function($arguments) use ($myvar) {
    echo $myvar;
}, $priority_integer, $accepted_arguments_integer);

Leave a Comment