Summery Summery
Adds the REST API URL to the WP RSD endpoint.
Syntax Syntax
Source Source
File: wp-includes/rest-api.php
while ( count( $parts ) > 1 ) { $next = array_shift( $parts ); if ( isset( $ref[ $next ] ) && true === $ref[ $next ] ) { // Skip any sub-properties if their parent prop is already marked for inclusion. break 2; } $ref[ $next ] = isset( $ref[ $next ] ) ? $ref[ $next ] : array(); $ref = &$ref[ $next ]; } $last = array_shift( $parts );
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |