HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //var/www/html/bwcdev/wp-content/plugins/insert-headers-and-footers/includes/legacy.php
<?php
/**
 * Call new methods using the old class for backwards compatibility.
 *
 * @package WPCode
 */

if ( ! class_exists( 'InsertHeadersAndFooters' ) ) {
	/**
	 * Class InsertHeadersAndFooters used in the IHAF 1.x.x.
	 */
	class InsertHeadersAndFooters {

		/**
		 * Output the header code.
		 *
		 * @return void
		 */
		public function frontendHeader() {// phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
			wpcode_global_frontend_header();
		}

		/**
		 * Output the footer code.
		 *
		 * @return void
		 */
		public function frontendFooter() {// phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
			wpcode_global_frontend_footer();
		}

		/**
		 * Output the body code.
		 *
		 * @return void
		 */
		public function frontendBody() {// phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
			wpcode_global_frontend_body();
		}

	}
}