Topic: Manifests
I'm wondering - why there isn't any simple function that would allow developers to insert their code via php instead of this unfriendly xml manifests.
Something like this
function add_action( $hook_id, $function ) {
global $forum_hooks;
array_push($forum_hooks['hd_head'],$function());
return NULL;
}
function test() {
echo "foo";
$i = 1;
$j = 2;
echo $i+$j;
}
add_action('hd_head','test');
Currently working on rPlus - responsive theme for developers to create their own themes basing on this one.