• This is an example of a code snippet that fires a callback within an action hook:

    add_action( 'wp_testing_hook', 'my_awesome_function', 10, 2 );
    function my_awesome_function( $foo, $bar) {
       //Once upon a time...
       $magic = $foo + $bar;
       return $magic;
    }

    Learn more with this talk about hooks (in Spanish):

    https://www.youtube.com/watch?v=gcSCMxzK364<span style=”padding: 0; margin: 0; margin-left: 5px;”></span>
    (It was converted to link because the YouTube embeds don’t work yet…)

    “May the Force be with you”

    Han Solo
    The WordPress [blue] logo.

    My favorite video game consoles/systems:

    • PlayStation <sup>5</sup>
    • Xbox Series X
    • Oculus Quest <sub>2</sub>

    Top 5 best movies ever:

    1. The Shawshank Redemption
    2. The Godfather
    3. Schindler’s List
    4. Pulp Fiction
    5. Forrest Gump
    • This topic was modified 3 years, 6 months ago by Yordan Soares. Reason: Fixed a typo in the text

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

Viewing 1 replies (of 1 total)
  • This is crazy! Why do I have to have blue plus, arrows, and the3-line menu and think I have to do something before I start typing when I get here already confused?

Viewing 1 replies (of 1 total)

The topic ‘Just another testing topic :)’ is closed to new replies.