for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* LSX functions and definitions.
*
* @package lsx
*/
use LSX\Core;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'LSX_VERSION', '4.0.0' );
require_once get_template_directory() . '/includes/classes/class-core.php';
* Contains the LSX theme object
* @return void
function lsx() {
global $lsx;
if ( null === $lsx ) {
$lsx = new Core();
$lsx->init();
return $lsx;
lsx();
// Add favicon to your website.
add_action( 'wp_head', 'add_site_favicon' );
function add_site_favicon() {
echo '<link rel="shortcut icon" type="image/x-icon" href="' . get_template_directory_uri() . '/assets/images/favicon.png" />';