Example #1
0
 /**
  * Add the options metabox to the array of metaboxes
  * @since  0.1.0
  */
 function add_options_page_metabox()
 {
     $file = cmbo_get_file_config('options');
     if ($file) {
         include_once $file;
     }
 }
Example #2
0
 /**
  * Load config files
  * @since 1.0.0
  */
 public static function load_config()
 {
     $files = array('post-meta', 'user-meta');
     foreach ($files as $file) {
         $f = cmbo_get_file_config($file);
         if ($f) {
             require_once $f;
         }
     }
 }