wordpress/wp-content/themes/basic/themify/customizer/class-themify-customizer.php
/**
		 * Checks if the string ends with a certain substring.
		 * 
		 * @since 2.1.9
		 * 
		 * @param string $haystack Main string to search in.
		 * @param string $needle Substring that must be found at the end of main string.
		 * 
		 * @return bool Whether the substring is found at the end of the main string.
		 */
Checks if the string ends with a certain substring.



@param string $haystack Main string to search in.
@param string $needle Substring that must be found at the end of main string.

@return bool Whether the substring is found at the end of the main string.
Checks if the string ends with a certain substring . @param string $haystack Main string to search in . @param string $needle Substring that must be found at the end of main string . @return bool Whether the substring is found at the end of the main string .
function endsWith($haystack, $needle) {
			$needle_length = strlen($needle);
			$offset = strlen($haystack) - $needle_length;
			$length = $needle_length;
			return @substr_compare($haystack, $needle, $offset, $length) === 0;
		}
function endsWith ( $ haystack , $ needle ) { $ needle_length = strlen ( $ needle ) ; $ offset = strlen ( $ haystack ) - $ needle_length ; $ length = $ needle_length ; return @ substr_compare ( $ haystack , $ needle , $ offset , $ length ) === 0 ; }
Checks if the string ends with a certain substring.
Checks if the string ends with a certain substring .