PHP Class Wallmander\ElasticsearchIndexer\Service\WordPress

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

Public Methods

Method 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 method

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

restoreCurrentBlog() public static method

Wrapper for restore_current_blog.
public static restoreCurrentBlog ( )

switchToBlog() public static method

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