aioseo_rest_api_allow_update
aioseo_rest_api_allow_update
Appears in: all-in-one-seo-pack.4.9.9
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.4.9.9apply_filters('aioseo_rest_api_allow_update') is found 1 times:
- /app/Common/RestApi/Controllers/Post.php line 94
* @param string $postType The post type name. * @return bool Whether the user is allowed to update meta data for the post type. */ private function isAllowedToUpdate( $postType ) { return apply_filters( 'aioseo_rest_api_allow_update', true, $postType ) && aioseo()->helpers->canEditPostType( $postType ) && $this->canEditMetaData(); } /** * Returns the meta data for the given post.