<?php

if ( ! function_exists( 'ginevra_core_add_rotating_cubes_spinner_layout_option' ) ) {
	/**
	 * Function that set new value into page spinner layout options map
	 *
	 * @param array $layouts - module layouts
	 *
	 * @return array
	 */
	function ginevra_core_add_rotating_cubes_spinner_layout_option( $layouts ) {
		$layouts['rotating-cubes'] = esc_html__( 'Rotating Cubes', 'ginevra-core' );

		return $layouts;
	}

	add_filter( 'ginevra_core_filter_page_spinner_layout_options', 'ginevra_core_add_rotating_cubes_spinner_layout_option' );
}
