Add lineup and sub filters to event
This commit is contained in:
@@ -260,4 +260,12 @@ class SP_Event extends SP_Custom_Post{
|
|||||||
return $merged;
|
return $merged;
|
||||||
endif;
|
endif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function lineup_filter( $v ) {
|
||||||
|
return sp_array_value( $v, 'sub', false ) == false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function sub_filter( $v ) {
|
||||||
|
return sp_array_value( $v, 'sub', false );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user