📜  wp_editor wp 的属性 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:16.555000             🧑  作者: Mango

代码示例1
$args = array(
    'tinymce'       => array(
        'toolbar1'      => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink,undo,redo',
        'toolbar2'      => '',
        'toolbar3'      => '',
    ),
);
wp_editor( $content, $editor_id, $args );