Метод | Описание | |
---|---|---|
get_front_page_meta_description ( ) : string | Returns front page meta description for current site. | |
has_grandfathered_front_page_meta ( ) : boolean | Checks if this option was set while it was still available under free plan. | |
is_enabled_jetpack_seo ( integer $site_id ) : boolean | Used to check whether SEO tools are enabled for given site. | |
update_front_page_meta_description ( $value ) : string | Updates the site option value for front page meta description. |
public static get_front_page_meta_description ( ) : string | ||
Результат | string | Front page meta description string or empty string. |
public static has_grandfathered_front_page_meta ( ) : boolean | ||
Результат | boolean | True if we should enable grandfathering, false otherwise. |
public static is_enabled_jetpack_seo ( integer $site_id ) : boolean | ||
$site_id | integer | Optional. Defaults to current blog id if not given. |
Результат | boolean | True if SEO tools are enabled, false otherwise. |
public static update_front_page_meta_description ( $value ) : string | ||
$value | string New value for front page meta description. | |
Результат | string | Saved value, or empty string if no update was performed. |