RTMediaUploadShortcode::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( )
    public function __construct()
    {
        add_shortcode('rtmedia_uploader', array('RTMediaUploadShortcode', 'pre_render'));
        $method_name = strtolower(str_replace('RTMedia', '', __CLASS__));
        if (is_callable("RTMediaDeprecated::{$method_name}", true, $callable_name)) {
            $this->deprecated = RTMediaDeprecated::$method_name();
        }
    }