Un motore di ricerca WordPress per sviluppatori e autori di temi



get_current_site_name ›

Da3.0.0
Deprecato3.9.0
get_current_site_name ( $current_site )
Accedi:
  • private
Parametri:
  • (object) $current_site
    Richiesto:
Ritorna:
  • (object)
Definito a:
Codex:

This deprecated function formerly set the site_name property of the $current_site object.

This function simply returns the object, as before. The bootstrap takes care of setting site_name.



Sorgenti

function get_current_site_name( $current_site ) {
	_deprecated_function( __FUNCTION__, '3.9.0', 'get_current_site()' );
	return $current_site;
}