WordPress at Your Fingertips
function is not described

WP_Theme::offsetSet() public WP 3.4.0

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

{} It's a method of the class: WP_Theme{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Theme = new WP_Theme();
$WP_Theme->offsetSet( $offset, $value );
$offset(mixed) (required)
-
$value(mixed) (required)
-

Changelog

Since 3.4.0 Introduced.

Code of WP_Theme::offsetSet() WP 5.8

<?php
public function offsetSet( $offset, $value ) {}