public_html/wp-content/themes/LocalTwo/core/customizer/includes/class-kirki-settings.php
/**
	 * Sanitize background position values
	 *
	 * @since 0.5
	 */
Sanitize background position values
@since 0.5
Sanitize background position values @since 0 . 5
function sanitize_bg_position( $value ) {
		$valid = array(
			'left-top'      => __( 'Left Top', 'kirki' ),
			'left-center'   => __( 'Left Center', 'kirki' ),
			'left-bottom'   => __( 'Left Bottom', 'kirki' ),
			'right-top'     => __( 'Right Top', 'kirki' ),
			'right-center'  => __( 'Right Center', 'kirki' ),
			'right-bottom'  => __( 'Right Bottom', 'kirki' ),
			'center-top'    => __( 'Center Top', 'kirki' ),
			'center-center' => __( 'Center Center', 'kirki' ),
			'center-bottom' => __( 'Center Bottom', 'kirki' ),
		);
		return ( array_key_exists( $value, $valid ) ) ? $value : 'center-center';
	}
function sanitize_bg_position ( $ value ) { $ valid = array ( 'left-top' => __ ( 'Left Top' , 'kirki' ) , 'left-center' => __ ( 'Left Center' , 'kirki' ) , 'left-bottom' => __ ( 'Left Bottom' , 'kirki' ) , 'right-top' => __ ( 'Right Top' , 'kirki' ) , 'right-center' => __ ( 'Right Center' , 'kirki' ) , 'right-bottom' => __ ( 'Right Bottom' , 'kirki' ) , 'center-top' => __ ( 'Center Top' , 'kirki' ) , 'center-center' => __ ( 'Center Center' , 'kirki' ) , 'center-bottom' => __ ( 'Center Bottom' , 'kirki' ) , ) ; return ( array_key_exists ( $ value , $ valid ) ) ? $ value : 'center-center' ; }
Sanitize background position values
 @since 0.5
Sanitize background position values @since 0 . 5