private static function update_evidence($blog_id, $transaction_id, $evidence)
 {
     $blog_meta = ProSites_Helper_ProSite::get_prosite_meta($blog_id);
     if (empty($blog_meta)) {
         $blog_meta = array();
     }
     if (empty($blog_meta['evidence'])) {
         $blog_meta['evidence'] = array();
     }
     $blog_meta['evidence'][$transaction_id] = $evidence;
     ProSites_Helper_ProSite::update_prosite_meta($blog_id, $blog_meta);
 }
Ejemplo n.º 2
0
	/**
	 * Fetches meta for a ProSite
	 *
	 * @param int $blog_id
	 * @param bool $default
	 *
	 * @return bool|mixed|string
	 */
	public static function get_prosite_meta( $blog_id = 0 ) {
		return ProSites_Helper_ProSite::get_prosite_meta( $blog_id );
	}