Permalink
Browse files

Clean up

  • Loading branch information...
champsupertramp committed Mar 10, 2017
1 parent b9b8a8c commit 14b804798132bfa5e9ebced54972b4385813769a
Showing with 0 additions and 26 deletions.
  1. +0 −25 core/um-actions-modal.php
  2. +0 −1 um-init.php
View
@@ -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;
-
- }
View
@@ -151,7 +151,6 @@ function init() {
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';

0 comments on commit 14b8047

Please sign in to comment.