- ajax custom selectbox options for not logged in users;

This commit is contained in:
nikitasinelnikov
2019-02-18 16:29:49 +02:00
parent 8e4180411e
commit 4b154dd650
+1
View File
@@ -32,6 +32,7 @@ if ( ! class_exists( 'um\core\AJAX_Common' ) ) {
}
add_action( 'wp_ajax_um_select_options', array( UM()->form(), 'ajax_select_options' ) );
add_action( 'wp_ajax_nopriv_um_select_options', array( UM()->form(), 'ajax_select_options' ) );
add_action( 'wp_ajax_um_delete_profile_photo', array( UM()->profile(), 'ajax_delete_profile_photo' ) );
add_action( 'wp_ajax_um_delete_cover_photo', array( UM()->profile(), 'ajax_delete_cover_photo' ) );