It is easier to read: When is what called? If you are debugging a hook you can immediately see if you have to read the function or not: If it is not your hook, you can skip the code.

In my themes and plugins I combine all registrations for actions, filters and shortcodes at the top and I add the hook to the PHPDoc block:

add_action( 'wp_head',  'foo' );
add_action( 'shutdown', 'bar' );

/**
 * Foo you!
 *
 * @wp-hook wp_head
 * @return  void
 */
function foo()
{
    print '&lt;!-- foo --&gt;';
}


add_action(), add_filter() before or after function
As in title, I am trying to deploy my game application to my wp8 device in VS 2012, but it will only run the emulator and nothing else. 
There are no options for deployment other than 'start' unlike in a windows phone game(4.0) or a windows phone app on VS2012 where you can select 'Device'

Sorry if this question is a bit vague, just hitting a wall here and would appreciate any help.

Thanks in advance!
