* Register the oEmbed REST API route.
*
* @since 4.4.0
+ * @access public
*/
public function register_routes() {
/**
- * Filter the maxwidth oEmbed parameter.
+ * Filters the maxwidth oEmbed parameter.
*
* @since 4.4.0
*
* Returns the JSON object for the post.
*
* @since 4.4.0
+ * @access public
*
* @param WP_REST_Request $request Full data about the request.
* @return WP_Error|array oEmbed response data or WP_Error on failure.
$post_id = url_to_postid( $request['url'] );
/**
- * Filter the determined post ID.
+ * Filters the determined post ID.
*
* @since 4.4.0
*