WP PLUGIN
・選択カスタムフィールドをオートコンプリートに変更
This commit is contained in:
@@ -6,15 +6,18 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
if ( ! class_exists( 'APOP' ) ) {
|
||||
|
||||
require_once __DIR__ . '/../util/apop-order-setting.php';
|
||||
require_once __DIR__ . '/../util/apop-customfield-select.php';
|
||||
|
||||
class APOP {
|
||||
|
||||
use APOP_ORDER_SETTING;
|
||||
use APOP_ORDER_SETTING, CUSTOMFIELD_SELECT;
|
||||
|
||||
const TEMPLATE_DIR = __DIR__ . '/../template/';
|
||||
|
||||
public function __construct() {
|
||||
add_action( 'admin_menu', array( $this, 'add_pages' ) );
|
||||
add_action( 'admin_enqueue_scripts', array( $this, 'set_custom_field_ajax' ) );
|
||||
add_action( 'wp_ajax_set_custom_field', array( $this, 'set_custom_field' ) );
|
||||
}
|
||||
|
||||
public function add_pages() {
|
||||
|
||||
Reference in New Issue
Block a user