0
我是創建插件的初學者。
我正在創建自定義插件。
這是我的代碼如何在自定義插件中保存數據wp_editor()
defined('ABSPATH') or die('No script kiddies please!');
function reservationPlugin()
{
add_menu_page('Reservation', 'Reservation', 4, 'reservation-Option', 'exampleMenu', 'dashicons-calendar', 3);
}
function exampleMenu()
{
$content = '';
$editor_id = 'mycustomeditor';
wp_editor($content, $editor_id);
}
我如何保存的內容? 在此次展會之前?
謝謝!