Skip to content

Commit

Permalink
methods should be private
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Sep 22, 2014
1 parent 66d4b69 commit 92dbd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/CMB2_Show_Filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CMB2_Show_Filters {
*
* @return string|false show_on key or false
*/
public static function get_show_on_key( $meta_box_args ) {
private static function get_show_on_key( $meta_box_args ) {
$show_on = isset( $meta_box_args['show_on'] ) ? (array) $meta_box_args['show_on'] : false;
if ( $show_on && is_array( $show_on ) ) {

Expand All @@ -44,7 +44,7 @@ public static function get_show_on_key( $meta_box_args ) {
*
* @return mixed show_on value or false
*/
public static function get_show_on_value( $meta_box_args ) {
private static function get_show_on_value( $meta_box_args ) {
$show_on = isset( $meta_box_args['show_on'] ) ? (array) $meta_box_args['show_on'] : false;

if ( $show_on && is_array( $show_on ) ) {
Expand Down

0 comments on commit 92dbd07

Please sign in to comment.