public_html/wp-content/plugins/google-document-embedder/functions.php
/**
 * Check if settings allow a file to be privatized (downloads blocked)
 *
 * @since   2.5.0.2
 * @return  bool Whether or not the file can be blocked from download
 */
Check if settings allow a file to be privatized (downloads blocked)
@since   2.5.0.2
@return  bool Whether or not the file can be blocked from download
Check if settings allow a file to be privatized ( downloads blocked ) @since 2 . 5 . 0 . 2 @return bool Whether or not the file can be blocked from download
function gde_is_blockable( $profile ) {
	if ( $profile['viewer'] == "standard" || $profile['link_show'] !== "none" ) {
		return false;
	} elseif ( ! strstr( $profile['tb_flags'], "n" ) && $profile['tb_fullscr'] == "default" ) {
		return false;
	} else {
		return true;
	}
}
function gde_is_blockable ( $ profile ) { if ( $ profile [ 'viewer' ] == " standard " || $ profile [ 'link_show' ] !== " none " ) { return false ; } elseif ( ! strstr ( $ profile [ 'tb_flags' ] , " n " ) && $ profile [ 'tb_fullscr' ] == " default " ) { return false ; } else { return true ; } }
Check if settings allow a file to be privatized (downloads blocked)
 @since   2.5.0.2
 @return  bool Whether or not the file can be blocked from download
Check if settings allow a file to be privatized ( downloads blocked ) @since 2 . 5 . 0 . 2 @return bool Whether or not the file can be blocked from download