Register and Get Object
<p><strong>How can I achieve something like this:</strong></p>

<pre><code>register_action('hello');
get_action('hello');
</code></pre>

<p>Where the register function just register's an action to be showed, whilst get_action calls/displays it.</p>

<p><strong>Just like wordpress has:</strong></p>

<pre><code>register_sidebar($args);
get_sidebar($title);
</code></pre>
