/** * Gets the value of the setting. * * @since 1.0.0 * @access public * @return mixed */ public function get_value($post_id) { return thds_get_theme_meta($post_id, $this->name); }
/** * Returns the theme rating count. * * @since 1.0.0 * @access public * @param int $theme_id * @return int */ function thds_get_theme_rating_count($theme_id = 0) { $theme_id = thds_get_theme_id($theme_id); return apply_filters('thds_get_theme_rating_count', absint(thds_get_theme_meta($theme_id, 'rating_count')), $theme_id); }