Your call to add_action('rest_api_init', array('myPlugin_Class', 'init' )); is very late and before that plugin activation hook.
確定! 回上一頁