- new Email Templates logic with save template to Theme(Child Theme);

- small fixes;
This commit is contained in:
nikitozzzzzzz
2017-08-29 15:01:29 +03:00
parent f32d37c09e
commit 502231671b
27 changed files with 559 additions and 781 deletions
+3 -3
View File
@@ -746,9 +746,9 @@ if ( ! class_exists( 'User' ) ) {
*
*
*/
function pending(){
$this->set_status('awaiting_admin_review');
UM()->mail()->send( um_user('user_email'), 'pending_email' );
function pending() {
$this->set_status( 'awaiting_admin_review' );
UM()->mail()->send( um_user( 'user_email' ), 'pending_email' );
}
/**