Enable player list data updating via rest api

This commit is contained in:
Brian Miyaji
2016-04-11 19:47:09 +10:00
parent a53b0cfa31
commit 1dc8617de7

View File

@@ -154,7 +154,7 @@ class SportsPress_Player_Lists {
'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' => __( 'Player List', 'sportspress' ),
'type' => 'array',