Enable league table data updating via rest api

This commit is contained in:
Brian Miyaji
2016-04-11 19:47:01 +10:00
parent aca031f774
commit a53b0cfa31

View File

@@ -137,7 +137,7 @@ class SportsPress_League_Tables {
'data',
array(
'get_callback' => 'SP_REST_API::get_post_data',
'update_callback' => 'SP_REST_API::update_post_meta',
'update_callback' => 'SP_REST_API::update_post_meta_arrays',
'schema' => array(
'description' => __( 'League Table', 'sportspress' ),
'type' => 'array',