mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix comment headers
This commit is contained in:
+36
-33
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
/***
|
||||
*** @submit account page changes
|
||||
***/
|
||||
/**
|
||||
* Submit account page changes
|
||||
*/
|
||||
add_action('um_submit_account_details','um_submit_account_details');
|
||||
function um_submit_account_details( $args ) {
|
||||
global $ultimatemember;
|
||||
@@ -90,9 +90,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @validate for errors in account page
|
||||
***/
|
||||
/**
|
||||
* Validate for errors in account form
|
||||
*/
|
||||
add_action('um_submit_account_errors_hook','um_submit_account_errors_hook');
|
||||
function um_submit_account_errors_hook( $args ) {
|
||||
global $ultimatemember;
|
||||
@@ -188,9 +188,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @hidden inputs for account page
|
||||
***/
|
||||
/**
|
||||
* Hidden inputs for account form
|
||||
*/
|
||||
add_action('um_account_page_hidden_fields','um_account_page_hidden_fields');
|
||||
function um_account_page_hidden_fields( $args ) {
|
||||
global $ultimatemember;
|
||||
@@ -206,9 +206,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display tab "Delete"
|
||||
***/
|
||||
/**
|
||||
* Display "Delete" tab
|
||||
*/
|
||||
add_action('um_account_tab__delete', 'um_account_tab__delete');
|
||||
function um_account_tab__delete( $info ) {
|
||||
global $ultimatemember;
|
||||
@@ -238,9 +238,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display tab "Privacy"
|
||||
***/
|
||||
/**
|
||||
* Display "Privacy" tab
|
||||
*/
|
||||
add_action('um_account_tab__privacy', 'um_account_tab__privacy');
|
||||
function um_account_tab__privacy( $info ) {
|
||||
global $ultimatemember;
|
||||
@@ -268,9 +268,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display tab "General"
|
||||
***/
|
||||
/**
|
||||
* Display "General" tab
|
||||
*/
|
||||
add_action('um_account_tab__general', 'um_account_tab__general');
|
||||
function um_account_tab__general( $info ) {
|
||||
global $ultimatemember;
|
||||
@@ -298,9 +298,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display tab "Password"
|
||||
***/
|
||||
/**
|
||||
* Display "Password" tab
|
||||
*/
|
||||
add_action('um_account_tab__password', 'um_account_tab__password');
|
||||
function um_account_tab__password( $info ) {
|
||||
global $ultimatemember;
|
||||
@@ -328,9 +328,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display tab "Notifications"
|
||||
***/
|
||||
/**
|
||||
* Display "Notifications" tab
|
||||
*/
|
||||
add_action('um_account_tab__notifications', 'um_account_tab__notifications');
|
||||
function um_account_tab__notifications( $info ) {
|
||||
global $ultimatemember;
|
||||
@@ -364,9 +364,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display account photo and username
|
||||
***/
|
||||
/**
|
||||
* Display account photo and username in mobile
|
||||
*/
|
||||
add_action('um_account_user_photo_hook__mobile', 'um_account_user_photo_hook__mobile');
|
||||
function um_account_user_photo_hook__mobile( $args ) {
|
||||
global $ultimatemember;
|
||||
@@ -389,9 +389,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display account photo and username
|
||||
***/
|
||||
/**
|
||||
* Display account photo and username
|
||||
*/
|
||||
add_action('um_account_user_photo_hook', 'um_account_user_photo_hook');
|
||||
function um_account_user_photo_hook( $args ) {
|
||||
global $ultimatemember;
|
||||
@@ -424,9 +424,9 @@
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @display account page tabs
|
||||
***/
|
||||
/**
|
||||
* Display account page tabs
|
||||
*/
|
||||
add_action('um_account_display_tabs_hook', 'um_account_display_tabs_hook');
|
||||
function um_account_display_tabs_hook( $args ) {
|
||||
global $ultimatemember;
|
||||
@@ -478,6 +478,9 @@
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Update account fields to secure the account submission
|
||||
*/
|
||||
add_action('wp_footer','um_account_secure_registered_fields');
|
||||
function um_account_secure_registered_fields(){
|
||||
global $ultimatemember;
|
||||
|
||||
Reference in New Issue
Block a user