Свойство | Тип | Описание | |
---|---|---|---|
$option_host | boolean | True if EP_HOST has been set via option or false. |
Метод | Описание | |
---|---|---|
factory ( ) : EP_Config | Get a singleton instance of the class | |
get_host ( ) : string | boolean | Retrieve the appropriate host. Will default to EP_HOST constant if it exists | |
get_index_name ( integer $blog_id = null ) : string | Generates the index name for the current site | |
get_indexable_post_status ( ) : array | Return indexable post_status for the current site | |
get_indexable_post_types ( ) : mixed | void | Returns indexable post types for the current site | |
get_network_alias ( ) : string | Generate network index name for alias | |
host_by_option ( ) : boolean | Determine if host is set in options rather than a constant | |
is_indexing ( ) : boolean | Determine if ElasticPress is in the middle of an index | |
is_indexing_wpcli ( ) : boolean | Check if wpcli indexing is occuring | |
is_network ( string $plugin ) : boolean | Whether plugin is network activated |
public static factory ( ) : EP_Config | ||
Результат | EP_Config |
public get_index_name ( integer $blog_id = null ) : string | ||
$blog_id | integer | (optional) Blog ID. Defaults to current blog. |
Результат | string |
public get_indexable_post_status ( ) : array | ||
Результат | array |
public get_indexable_post_types ( ) : mixed | void | ||
Результат | mixed | void |
public get_network_alias ( ) : string | ||
Результат | string |
public host_by_option ( ) : boolean | ||
Результат | boolean |
public is_indexing ( ) : boolean | ||
Результат | boolean |
public is_indexing_wpcli ( ) : boolean | ||
Результат | boolean |
public is_network ( string $plugin ) : boolean | ||
$plugin | string | the plugin base name. |
Результат | boolean | True if network activated or false |
public bool $option_host | ||
Результат | boolean |