W3cubDocs

/WordPress

WP_Theme::offsetSet( mixed $offset, mixed $value )

Method to implement ArrayAccess for keys formerly returned by get_themes()

Parameters

$offset

(mixed) (Required)

$value

(mixed) (Required)

Source

File: wp-includes/class-wp-theme.php

public function offsetSet( $offset, $value ) {}

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_theme/offsetset