[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.119.110.76: ~ $
<?php
namespace MetForm\Base;
defined( 'ABSPATH' ) || exit;

abstract Class Cpt{

    public function __construct() {
        
        $name = $this->get_name();
        $args = $this->post_type();

        add_action('init',function() use($name,$args) {
            register_post_type( $name, $args );
        });  
    }

    public abstract function post_type();

}


Filemanager

Name Type Size Permission Actions
api.php File 1.04 KB 0644
common.php File 589 B 0644
cpt.php File 390 B 0644
shortcode.php File 7.47 KB 0644