wp_convert_hr_to_bytes

Advertisement

Summery Summery

Converts a shorthand byte value to an integer byte value.

Syntax Syntax

wp_convert_hr_to_bytes( string $value )

Parameters Parameters

$value

(string) (Required) A (PHP ini) byte value, either shorthand or ordinary.

Return Return

(int) An integer byte value.

Source Source

File: wp-includes/load.php

		$old_installing = $installing;
		$installing     = $is_installing;
		return (bool) $old_installing;
	}

	return (bool) $installing;
}

/**
 * Determines if SSL is used.
 *
 * @since 2.6.0
 * @since 4.6.0 Moved from functions.php to load.php.
 *
 * @return bool True if SSL, otherwise false.

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Moved from media.php to load.php.
2.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.