diff options
Diffstat (limited to 'plugins/jetpack/sal/class.json-api-site-base.php')
-rw-r--r-- | plugins/jetpack/sal/class.json-api-site-base.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/jetpack/sal/class.json-api-site-base.php b/plugins/jetpack/sal/class.json-api-site-base.php index c4e5aed3..b3a9ead4 100644 --- a/plugins/jetpack/sal/class.json-api-site-base.php +++ b/plugins/jetpack/sal/class.json-api-site-base.php @@ -549,4 +549,8 @@ abstract class SAL_Site { $options = get_option( 'options' ); return ! empty ( $options['is_domain_only'] ) ? (bool) $options['is_domain_only'] : false; } + + function get_blog_public() { + return (int) get_option( 'blog_public' ); + } } |