mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Docs: Improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -58,7 +58,12 @@ function wp_embed_unregister_handler( $id, $priority = 10 ) {
|
||||
*
|
||||
* @param string $url Optional. The URL that should be embedded. Default empty.
|
||||
*
|
||||
* @return array Default embed parameters.
|
||||
* @return array {
|
||||
* Indexed array of the embed width and height in pixels.
|
||||
*
|
||||
* @type int $0 The embed width.
|
||||
* @type int $1 The embed height.
|
||||
* }
|
||||
*/
|
||||
function wp_embed_defaults( $url = '' ) {
|
||||
if ( ! empty( $GLOBALS['content_width'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user