mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Clean up
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/***
|
||||
*** @dynamic frontend modal content
|
||||
***/
|
||||
add_action('wp_ajax_nopriv_ultimatemember_frontend_modal', 'ultimatemember_frontend_modal');
|
||||
add_action('wp_ajax_ultimatemember_frontend_modal', 'ultimatemember_frontend_modal');
|
||||
function ultimatemember_frontend_modal(){
|
||||
global $ultimatemember;
|
||||
|
||||
extract($_POST);
|
||||
|
||||
switch ( $act_id ) {
|
||||
|
||||
case 'um_frontend_shortcode':
|
||||
|
||||
$output = do_shortcode( $arg1 );
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
if(is_array($output)){ print_r($output); }else{ echo $output; } die;
|
||||
|
||||
}
|
||||
@@ -151,7 +151,6 @@ class UM_API {
|
||||
require_once um_path . 'core/um-actions-global.php';
|
||||
require_once um_path . 'core/um-actions-user.php';
|
||||
require_once um_path . 'core/um-actions-save-profile.php';
|
||||
require_once um_path . 'core/um-actions-modal.php';
|
||||
require_once um_path . 'core/um-actions-misc.php';
|
||||
|
||||
require_once um_path . 'core/um-filters-language.php';
|
||||
|
||||
Reference in New Issue
Block a user