public_html/wp-content/plugins/google-document-embedder/functions-admin.php
/**
 * Check current beta status
 *
 * @since   2.5.0.1
 * @return  bool Whether or not the currently running version is a beta
 */
Check current beta status
@since   2.5.0.1
@return  bool Whether or not the currently running version is a beta
Check current beta status @since 2 . 5 . 0 . 1 @return bool Whether or not the currently running version is a beta
function gde_is_beta() {
	global $pdata;
	if ( preg_match( '/[a-z-]/i', $pdata['Version'] ) ) {
		return true;
	} else {
		return false;
	}
}
function gde_is_beta ( ) { global $ pdata ; if ( preg_match ( '/[a-z-]/i' , $ pdata [ 'Version' ] ) ) { return true ; } else { return false ; } }
Check current beta status
 @since   2.5.0.1
 @return  bool Whether or not the currently running version is a beta
Check current beta status @since 2 . 5 . 0 . 1 @return bool Whether or not the currently running version is a beta
// check for currently running beta version (contains any letter or hyphen) // running a beta