Add event results to equation builder

This commit is contained in:
Brian Miyaji
2015-09-17 12:36:01 +10:00
parent 922866f521
commit ecbac64351
3 changed files with 148 additions and 99 deletions

View File

@@ -23,7 +23,7 @@ class SP_Meta_Box_Statistic_Equation extends SP_Meta_Box_Equation {
*/
public static function output( $post ) {
$equation = get_post_meta( $post->ID, 'sp_equation', true );
$groups = array( 'player_event', 'outcome', 'performance', 'metric' );
$groups = array( 'player_event', 'outcome', 'result', 'performance', 'metric' );
self::builder( $post->post_title, $equation, $groups );
}
}