PHP Class RTMediaUpload, rtMedia

Author: joshua
ファイルを表示 Open project: rtCamp/rtMedia

Public Properties

Property Type Description
$file
$media
$media_ids
$url
$wp_kses_allowed_tags array Static array to hold the allowed tags to be use in wp_kses

Public Methods

Method Description
__construct ( array $uploaded )
upload ( type $uploaded ) : type upload a file or a link input

Method Details

__construct() public method

public __construct ( array $uploaded )
$uploaded array

upload() public method

upload a file or a link input
public upload ( type $uploaded ) : type
$uploaded type
return type

Property Details

$file public_oe property

public $file

$media public_oe property

public $media

$media_ids public_oe property

public $media_ids

$url public_oe property

public $url

$wp_kses_allowed_tags public_oe static_oe property

Static array to hold the allowed tags to be use in wp_kses
public static array $wp_kses_allowed_tags
return array