Astra_Customizer::starts_with( string $string, string $start_string )
Check if string is start with a string provided.
Description
Parameters
- $string
- 
					(string) (Required) main string. 
- $start_string
- 
					(string) (Required) string to search. 
Return
(bool.)
Source
File: inc/customizer/class-astra-customizer.php
		public function starts_with( $string, $start_string ) {
			$len = strlen( $start_string );
			return ( substr( $string, 0, $len ) === $start_string );
		}
			Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description | 
|---|---|
| 2.0.0 | Introduced. |