????JFIF??x?x????'
Server IP : 104.21.64.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/peekmysite.com/wp-content/themes/sinatra/inc/compatibility/ |
Upload File : |
<?php /** * WP Forms compatibility class. * * @package Sinatra * @author Sinatra Team <[email protected]> * @since 1.0.0 */ /** * Do not allow direct script access. */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Sinatra_WPForms' ) ) : /** * WPForms compatibility class. */ class Sinatra_WPForms { /** * Primary class constructor. * * @since 1.0.0 */ public function __construct() { add_action( 'activate_wpforms-lite/wpforms.php', array( $this, 'disable_redirect_on_activation' ), 20 ); // If WPForms is not activated then return. if ( ! class_exists( 'WPForms' ) ) { return; } } /** * Disable admin page redirect on plugin activation. * * @since 1.0.0 */ public function disable_redirect_on_activation() { delete_transient( 'wpforms_activation_redirect' ); } } endif; new Sinatra_WPForms();