Bulk_Theme_Upgrader_Skin::add_strings() WordPress Method

The Bulk_Theme_Upgrader_Skin::add_strings() method allows you to add your own strings to the WordPress Bulk Theme Upgrader. This is useful if you want to provide your own translations for the Bulk Theme Upgrader interface, or if you want to change the text that is displayed in the interface.

Bulk_Theme_Upgrader_Skin::add_strings() #


Source

File: wp-admin/includes/class-bulk-theme-upgrader-skin.php

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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.