From 5ee47251cc2092324aa4fe0ea1ad7b3684b2a46a Mon Sep 17 00:00:00 2001 From: Ulrich Pogson Date: Sat, 14 Sep 2013 12:27:41 +0200 Subject: [PATCH] Improve readability of default_args array --- classes/class-woothemes-testimonials-taxonomy.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/classes/class-woothemes-testimonials-taxonomy.php b/classes/class-woothemes-testimonials-taxonomy.php index c240412..506a489 100644 --- a/classes/class-woothemes-testimonials-taxonomy.php +++ b/classes/class-woothemes-testimonials-taxonomy.php @@ -81,7 +81,16 @@ public function __construct ( $token = 'testimonial-category', $singular = '', $ * @return array Default arguments. */ private function _get_default_args () { - return array( 'labels' => $this->_get_default_labels(), 'public' => true, 'hierarchical' => true, 'show_ui' => true, 'show_admin_column' => true, 'query_var' => true, 'show_in_nav_menus' => false, 'show_tagcloud' => false ); + return array( + 'labels' => $this->_get_default_labels(), + 'public' => true, + 'hierarchical' => true, + 'show_ui' => true, + 'show_admin_column' => true, + 'query_var' => true, + 'show_in_nav_menus' => false, + 'show_tagcloud' => false + ); } // End _get_default_args() /** @@ -116,4 +125,4 @@ public function register () { register_taxonomy( esc_attr( $this->token ), esc_attr( $this->post_type ), (array)$this->args ); } // End register() } // End Class -?> \ No newline at end of file +?>