lsof | grep /Volumes/IMAJIN diskutil unmountDisk force /Volumes/IMAJIN
<?php $reflFunc=new ReflectionFunction('name_of_function'); echo($reflFunc->getFileName().':'.$reflFunc->getStartLine()); ?>
<?php function create_post_type(){ register_post_type('review', array( 'labels'=>array( 'name'=>__('Reviews'), 'singular_name'=>__('Review') ), 'public'=>true, 'has_archive'=>true, 'capabilities'=>array( 'edit_post'=>'edit_review', 'edit_posts'=>'edit_reviews', 'publish_posts'=>'publish_review', 'read_post'=>'read_review', ), ) ); } add_action('init','create_post_type'); ?>
<?php // Adds custom post type for Projects and Services function create_post_type(){ register_post_type('project', array( 'labels' => array( 'name' => __('Projects'), 'singular_name' => __('Project') ), 'taxonomies' => array('category'), 'public' => true, 'has_archive' => true, 'capabilities' => array( 'edit_post' => 'edit_project', 'edit_posts' => 'edit_projects', 'publish_posts' => 'publish_project', 'read_post' => 'read_project', ),