에디터 이미지 업로드 HOOK 이벤트 추가
This commit is contained in:
@ -69,6 +69,8 @@ if( !$is_editor_upload ){
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run_event('cheditor_photo_upload', $data_dir, $data_url);
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|||||||
@ -41,6 +41,8 @@ if( isset($_GET['_nonce']) && ft_nonce_is_valid( $_GET['_nonce'] , 'smarteditor'
|
|||||||
|
|
||||||
if( $is_editor_upload ) {
|
if( $is_editor_upload ) {
|
||||||
|
|
||||||
|
run_event('smarteditor_photo_upload', $data_dir, $data_url);
|
||||||
|
|
||||||
require('UploadHandler.php');
|
require('UploadHandler.php');
|
||||||
$options = array(
|
$options = array(
|
||||||
'upload_dir' => $data_dir,
|
'upload_dir' => $data_dir,
|
||||||
|
|||||||
Reference in New Issue
Block a user