Why do I need to use the
"init" hook instead of the
init:fires after the core of the wordpress is loaded but before headers are sent
admin init:before any other hook when the user accesses the admin area?? so what does that mean exactly? it is certainly after the
init hook, is it not?
$args = array( 'labels' => $labels, 'public' => true, ); register_post_type('random', $args);} add_action('admin_init', 'rdf', 0);