本文整理汇总了PHP中RWMB_Field::add_actions方法的典型用法代码示例。如果您正苦于以下问题:PHP RWMB_Field::add_actions方法的具体用法?PHP RWMB_Field::add_actions怎么用?PHP RWMB_Field::add_actions使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RWMB_Field
的用法示例。
在下文中一共展示了RWMB_Field::add_actions方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
static function add_actions()
{
// Do same actions as file field
parent::add_actions();
add_action('wp_ajax_lpr_quiz_question_add', array(__CLASS__, 'quiz_question_add'));
add_action('wp_ajax_lpr_quiz_question_remove', array(__CLASS__, 'quiz_question_remove'));
}
示例2: array
static function add_actions()
{
// Do same actions as file field
parent::add_actions();
add_action('wp_ajax_lpr_quick_add', array(__CLASS__, 'quick_add'));
add_action('wp_ajax_lpr_update_course_curriculum', array(__CLASS__, 'update_course_curriculum'));
add_action('wp_ajax_lpr_quick_edit_lesson_quiz_name', array(__CLASS__, 'quick_edit_lesson_quiz_name'));
add_action('wp_ajax_lpr_update_section_state', array(__CLASS__, 'update_section_state'));
add_action('wp_ajax_lpr_remove_lesson_quiz', array(__CLASS__, 'remove_lesson_quiz'));
add_action('save_post', array(__CLASS__, 'update_course_curriculum'));
}
示例3: array
static function add_actions()
{
// Do same actions as file field
parent::add_actions();
add_action('wp_ajax_lpr_load_question_settings', array(__CLASS__, 'load_question_settings'));
}
示例4: array
static function add_actions()
{
// Do same actions as file field
parent::add_actions();
add_action('wp_ajax_lpr_quick_add', array(__CLASS__, 'quick_add'));
add_action('wp_ajax_lpr_update_course_curriculum', array(__CLASS__, 'update_course_curriculum'));
add_action('wp_ajax_lpr_quick_edit_lesson_quiz_name', array(__CLASS__, 'quick_edit_lesson_quiz_name'));
add_action('wp_ajax_lpr_update_section_state', array(__CLASS__, 'update_section_state'));
add_action('wp_ajax_lpr_remove_lesson_quiz', array(__CLASS__, 'remove_lesson_quiz'));
add_action('save_post', array(__CLASS__, 'update_course_curriculum'));
add_filter('learn_press_loop_section_buttons', array(__CLASS__, 'add_section_buttons'));
//add_filter( 'learn_press_after_section_content', array( __CLASS__, 'section_options' ) );
}