Changeset 12685
- Timestamp:
- 07/22/2020 10:43:29 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-core-oembed-extension.php
r12281 r12685 231 231 register_rest_route( 'oembed/1.0', "/embed/{$this->slug_endpoint}", array( 232 232 array( 233 'methods' => WP_REST_Server::READABLE, 234 'callback' => array( $this, 'get_item' ), 235 'args' => $args 233 'methods' => WP_REST_Server::READABLE, 234 'callback' => array( $this, 'get_item' ), 235 'permission_callback' => '__return_true', 236 'args' => $args 236 237 ), 237 238 ) );
Note: See TracChangeset
for help on using the changeset viewer.