/** * Run on WordPress's 'init' hook to register all the post types defined in classes that extend this class. */ static function _clear_post_type_args() { /* * No need to hang on to this data anymore. */ self::$_labels = null; self::$_post_type_args = null; }