ad_types; ?>
300,
'drag_drop_upload' => true,
);
wp_editor( '', 'advanced-ads-tinymce', $args );
?>
type ] ) ) ? $types[ $ad->type ] : current( $types );
$type->render_parameters( $ad );
$types_without_size = array( 'dummy' );
$types_without_size = apply_filters( 'advanced-ads-types-without-size', $types_without_size );
// todo: manage which ad types have a size in the ad type definition.
if ( ! in_array( $ad->type, $types_without_size ) ) {
include ADVADS_BASE_PATH . 'admin/views/ad-parameters-size.php';
};
?>
type ] ) ) {
do_action( "advanced-ads-ad-params-after-{$ad->type}", $ad, $types );
}
// extend the parameter form
do_action( 'advanced-ads-ad-params-after', $ad, $types );