Enable league table data updating via rest api
This commit is contained in:
@@ -137,7 +137,7 @@ class SportsPress_League_Tables {
|
|||||||
'data',
|
'data',
|
||||||
array(
|
array(
|
||||||
'get_callback' => 'SP_REST_API::get_post_data',
|
'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(
|
'schema' => array(
|
||||||
'description' => __( 'League Table', 'sportspress' ),
|
'description' => __( 'League Table', 'sportspress' ),
|
||||||
'type' => 'array',
|
'type' => 'array',
|
||||||
|
|||||||
Reference in New Issue
Block a user