PHP Class Wallmander\ElasticsearchIndexer\Service\WordPress

Author: Mikael Mattsson ([email protected])
Afficher le fichier Open project: wallmanderco/elasticsearch-indexer Class Usage Examples

Méthodes publiques

Méthode Description
getSites ( ) : Guzzle\Http\Message\Response Get a list of wordpress site ids.
restoreCurrentBlog ( ) Wrapper for restore_current_blog.
switchToBlog ( integer $id ) Wrapper for switch_to_blog.

Method Details

getSites() public static méthode

Get a list of wordpress site ids.
public static getSites ( ) : Guzzle\Http\Message\Response
Résultat Guzzle\Http\Message\Response

restoreCurrentBlog() public static méthode

Wrapper for restore_current_blog.
public static restoreCurrentBlog ( )

switchToBlog() public static méthode

Wrapper for switch_to_blog.
public static switchToBlog ( integer $id )
$id integer