', WPSEO_Cornerstone::META_NAME, checked( $this->get_meta_value( $post->ID ), '1', false ) ); $return .= sprintf( ''; return $return; } /** * Gets the meta value from the database. * * @param int $post_id The post id to get the meta value for. * * @return null|string The meta value from the database. */ protected function get_meta_value( $post_id ) { return get_post_meta( $post_id, WPSEO_Cornerstone::META_NAME, true ); } }