Skip to content

Commit

Permalink
make registry public
Browse files Browse the repository at this point in the history
  • Loading branch information
robojuicedev committed Oct 31, 2017
1 parent c493cc6 commit a151321
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Register/Registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
class Registry
{

private static $collection = [];
private static $postTypes = [
public static $collection = [];
public static $postTypes = [
'post' => ['post', 'posts'],
'page' => ['page', 'pages']
];

private static $taxonomies = [
public static $taxonomies = [
'category' => ['category', 'categories'],
'post_tag' => ['tag', 'tags']
];
Expand Down Expand Up @@ -161,7 +161,7 @@ public static function initHooks()
*
* @param \TypeRocket\Register\Taxonomy $obj
*/
private static function taxonomyFormContent( Taxonomy $obj ) {
public static function taxonomyFormContent( Taxonomy $obj ) {

$callback = function( $term, $type, $obj )
{
Expand Down Expand Up @@ -199,10 +199,10 @@ private static function taxonomyFormContent( Taxonomy $obj ) {
*
* @param PostType $obj
*/
private static function postTypeFormContent( PostType $obj) {
public static function postTypeFormContent( PostType $obj) {

/**
* @param \WP_Post$post
* @param \WP_Post $post
* @param string $type
* @param PostType $obj
*/
Expand Down

0 comments on commit a151321

Please sign in to comment.