W3cubDocs

/WordPress

Bulk_Plugin_Upgrader_Skin::add_strings()

Sets up the strings used in the update process.

Source

public function add_strings() {
	parent::add_strings();
	/* translators: 1: Plugin name, 2: Number of the plugin, 3: Total number of plugins being updated. */
	$this->upgrader->strings['skin_before_update_header'] = __( 'Updating Plugin %1$s (%2$d/%3$d)' );
}

Changelog

Version Description
3.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/bulk_plugin_upgrader_skin/add_strings