Свойство | Тип | Описание | |
---|---|---|---|
$site_format |
Метод | Описание | |
---|---|---|
callback ( $path = '', $blog_id ) | POST /sites/%s/settings | |
get_category_details ( $category ) : (array) | Returns category details | |
get_settings_response ( ) : (array) | Collects the necessary information to return for a get settings response. | |
jetpack_relatedposts_supported ( ) : (bool) | Determines whether jetpack_relatedposts is supported | |
update_settings ( ) : (array) | Updates site settings for authorized users |
Метод | Описание | |
---|---|---|
get_cast_option_value_or_null ( (string) $option_name, (callable) $cast_callable ) : (int | null) | Returns an option value as the result of the callable being applied to it if a value is set, otherwise null. | |
get_locale ( $key ) |
protected get_cast_option_value_or_null ( (string) $option_name, (callable) $cast_callable ) : (int | null) | ||
$option_name | (string) | |
$cast_callable | (callable) | |
Результат | (int | null) |
public get_category_details ( $category ) : (array) | ||
Результат | (array) |
public get_settings_response ( ) : (array) | ||
Результат | (array) |
public update_settings ( ) : (array) | ||
Результат | (array) |