wordpress/wp-content/themes/basic/themify/themify-admin.php
/**
 * Checks if current user is allowed to view the update interface.
 *
 * @since 2.0.0
 *
 * @return bool
 */
Checks if current user is allowed to view the update interface.

@return bool
Checks if current user is allowed to view the update interface . @return bool
function themify_allow_update() {
	static $is=null;
	if ($is===null ) {
	    $is = current_user_can( 'update_themes' );
	}
	return $is;
}
function themify_allow_update ( ) { static $ is = null ; if ( $ is === null ) { $ is = current_user_can ( 'update_themes' ) ; } return $ is ; }
Checks if current user is allowed to view the update interface.
Checks if current user is allowed to view the update interface .