GRAYBYTE WORDPRESS FILE MANAGER6304

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/userswp/includes/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/userswp/includes//class-uwp-defaults.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * UsersWP UsersWP_Defaults.
 *
 * A place to store default values used in many places.
 *
 * @class    UsersWP_Defaults
 * @package  UsersWP/Classes
 * @category Class
 * @author   AyeCode
 */
class UsersWP_Defaults {

	/**
	 * The new user account registration email subject default.
	 *
	 * @return string
	 */
	public static function wp_new_user_notification_email_subject() {
		return apply_filters( 'wp_new_user_notification_email_subject', __( "[[#site_name#]] Login Details", "userswp" ) );
	}

	/**
	 * The new user account registration email body default.
	 *
	 * @return string
	 */
	public static function wp_new_user_notification_email_content() {
		return apply_filters( 'wp_new_user_notification_email_content',
			__( "Dear [#user_name#],

To set your password, visit the following address:

[#reset_link#]

You can login here: [#login_url#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The new user account registration email subject default.
	 *
	 * @return string
	 */
	public static function wp_new_user_notification_email_subject_admin() {
		return apply_filters( 'wp_new_user_notification_email_subject', __( "[[#site_name#]] New User Registration", "userswp" ) );
	}

	/**
	 * The new user account registration email body default.
	 *
	 * @return string
	 */
	public static function wp_new_user_notification_email_content_admin() {
		return apply_filters( 'wp_new_user_notification_email_content',
			__( "Dear Admin,

New user registration on your site: [#site_name#]

Username: [#username#]

Email: [#user_email#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The new user account registration email subject default.
	 *
	 * @return string
	 */
	public static function registration_activate_email_subject() {
		return apply_filters( 'uwp_registration_activate_email_subject', __( "[[#site_name#]] Please activate your account", "userswp" ) );
	}

	/**
	 * The new user account registration email body default.
	 *
	 * @return string
	 */
	public static function registration_activate_email_content() {
		return apply_filters( 'uwp_registration_activate_email_content',
			__( "Dear [#user_name#],

Thank you for signing up with [#site_name#]

[#login_details#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The registration success email subject default.
	 *
	 * @return string
	 */
	public static function registration_success_email_subject() {
		return apply_filters( 'uwp_registration_success_email_subject', __( "[[#site_name#]] Your Log In Details", "userswp" ) );
	}

	/**
	 * The registration success email body default.
	 *
	 * @return string
	 */
	public static function registration_success_email_content() {
		return apply_filters( 'uwp_registration_success_email_content',
			__( "Dear [#user_name#],

You can log in with the following information:

[#login_details#]

You can login here: [#login_url#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The forgot password email subject default.
	 *
	 * @return string
	 */
	public static function forgot_password_email_subject() {
		return apply_filters( 'uwp_forgot_password_email_subject', __( "[#site_name#] - Your new password", "userswp" ) );
	}

	/**
	 * The forgot password email body default.
	 *
	 * @return string
	 */
	public static function forgot_password_email_content() {
		return apply_filters( 'uwp_forgot_password_email_content',
			__( "Dear [#user_name#],

[#login_details#]

You can login here: [#login_url#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The change password email subject default.
	 *
	 * @return string
	 */
	public static function change_password_email_subject() {
		return apply_filters( 'uwp_change_password_email_subject', __( "[#site_name#] - Password has been changed", "userswp" ) );
	}

	/**
	 * The change password email body default.
	 *
	 * @return string
	 */
	public static function change_password_email_content() {
		return apply_filters( 'uwp_change_password_email_content',
			__( "Dear [#user_name#],

Your password has been changed successfully.

You can login here: [#login_url#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The reset password email subject default.
	 *
	 * @return string
	 */
	public static function reset_password_email_subject() {
		return apply_filters( 'uwp_reset_password_email_subject', __( "[#site_name#] - Password has been reset", "userswp" ) );
	}

	/**
	 * The reset password email body default.
	 *
	 * @return string
	 */
	public static function reset_password_email_content() {
		return apply_filters( 'uwp_reset_password_email_content',
			__( "Dear [#user_name#],

Your password has been reset.

You can login here: [#login_url#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The update account email subject default.
	 *
	 * @return string
	 */
	public static function account_update_email_subject() {
		return apply_filters( 'uwp_account_update_email_subject', __( "[#site_name#] - Account has been updated", "userswp" ) );
	}

	/**
	 * The update account email body default.
	 *
	 * @return string
	 */
	public static function account_update_email_content() {
		return apply_filters( 'uwp_account_update_email_content',
			__( "Dear [#user_name#],

Your account has been updated successfully.

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The update account email pending activation subject default.
	 *
	 * @return string
	 */
	public static function account_new_email_activation_email_subject() {
		return apply_filters( 'account_new_email_activation_email_subject', __( "[#site_name#] - New email address activation required", "userswp" ) );
	}

	/**
	 * The update account email pending activation body default.
	 *
	 * @return string
	 */
	public static function account_new_email_activation_email_content() {
		return apply_filters( 'account_new_email_activation_email_content',
			__( "Dear [#user_name#],

You recently requested to change your email address. Please click on the following link to change it: [#new_email_link#]

You can safely ignore and delete this email if you do not want to take this action.

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The update account email subject default.
	 *
	 * @return string
	 */
	public static function account_delete_email_subject() {
		return apply_filters( 'uwp_account_delete_email_subject', __( "[#site_name#] - Your account has been deleted.", "userswp" ) );
	}

	/**
	 * The delete account email body default.
	 *
	 * @return string
	 */
	public static function account_delete_email_content() {
		return apply_filters( 'uwp_account_delete_email_content',
			__( "Dear [#user_name#],

Your account has been deleted successfully.

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The update account email subject default.
	 *
	 * @return string
	 */
	public static function account_delete_email_subject_admin() {
		return apply_filters( 'uwp_account_delete_email_subject_admin', __( "[#site_name#] - Account has been deleted by a user.", "userswp" ) );
	}

	/**
	 * The delete account email body default.
	 *
	 * @return string
	 */
	public static function account_delete_email_content_admin() {
		return apply_filters( 'uwp_account_delete_email_content_admin',
			__( "Dear Admin,

User has deleted own account from the site.

[#login_details#]

Thank you,
[#site_name_url#]", "userswp"
			)
		);
	}

	/**
	 * The new user account registration email subject default.
	 *
	 * @return string
	 */
	public static function registration_success_email_subject_admin() {
		return apply_filters( 'uwp_registration_success_email_subject_admin', __( "[[#site_name#]] New account registration", "userswp" ) );
	}

	/**
	 * The new user account registration email body default.
	 *
	 * @return string
	 */
	public static function registration_success_email_content_admin() {
		return apply_filters( 'uwp_registration_success_email_content_admin',
			__( "Dear Admin,

A user has been registered recently on your website.

[#extras#]", "userswp"
			)
		);
	}

	/**
	 * Returns default author box content
	 *
	 * @return string
	 */
	public static function author_box_content() {
		return apply_filters( 'uwp_author_box_content',
			'<div class="uwp-author-box">
                <div class="media-figure">
                    <a href="[#author_link#]">[#author_image#]</a>
                </div>
                <div class="media-body">
                    <h3>Author: <a href="[#author_link#]">[#author_name#]</a></h3>
                    <p>[#author_bio#]</p>
                </div>
            </div>'
		);
	}

	/**
	 * Returns default author box content for bootstrap
	 *
	 * @return string
	 */
	public static function author_box_content_bootstrap($args = array()) {
		global $aui_bs5;

		$wrap_class = $aui_bs5 ? sd_build_aui_class($args) : '';

		return apply_filters( 'uwp_author_box_content_bootstrap',
			'<div class="d-block text-center text-md-left d-md-flex p-3 bg-light ' . esc_attr($wrap_class) . '">
				<a href="[#author_link#]"><img src="[#author_image_url#]" class="rounded-circle shadow border border-white border-width-4 mr-3" width="60" height="60" alt="[#author_name#]"></a>
				<div class="media-body">
					<h5 class="mt-0">Author: <a href="[#author_link#]">[#author_name#]</a></h5>
					[uwp_button_group user_id="post_author"]
					<p>[#author_bio#]</p>
				</div>
			</div>'
		);
	}

	/**
	 * Returns default user list item content
	 * @param bool $no_filter
	 *
	 * @return string
	 */
	public static function page_user_list_item_content( $no_filter = false ) {
		$content = "[uwp_profile_header][uwp_output_location location='users'][uwp_user_actions]";

		if ( $no_filter ) {
			return $content;
		} else {
			return apply_filters( "uwp_page_user_list_item_default_content", $content );
		}
	}

}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:23
inteuuod / inteuuod
0755
helpers
--
July 10 2025 04:32:23
inteuuod / inteuuod
0755
libraries
--
July 10 2025 04:32:23
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:23
inteuuod / inteuuod
0644
abstract-uwp-privacy.php
3.543 KB
May 24 2018 18:32:58
inteuuod / inteuuod
0644
class-account.php
9.071 KB
January 09 2025 21:52:58
inteuuod / inteuuod
0644
class-activator.php
30.118 KB
February 04 2025 23:32:52
inteuuod / inteuuod
0644
class-addons.php
9.592 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
class-ajax.php
2.782 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
class-countries.php
11.445 KB
April 28 2022 17:18:48
inteuuod / inteuuod
0644
class-date.php
6.316 KB
September 19 2017 17:57:46
inteuuod / inteuuod
0644
class-emails.php
22.155 KB
April 10 2025 19:10:18
inteuuod / inteuuod
0644
class-files.php
23.46 KB
July 16 2024 18:34:28
inteuuod / inteuuod
0644
class-forms.php
170.66 KB
February 19 2025 22:09:02
inteuuod / inteuuod
0644
class-meta.php
12.987 KB
May 25 2022 16:36:12
inteuuod / inteuuod
0644
class-notices.php
7.954 KB
December 12 2024 21:47:10
inteuuod / inteuuod
0644
class-pages.php
17.646 KB
June 01 2021 17:14:04
inteuuod / inteuuod
0644
class-profile.php
60.792 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
class-status.php
19.468 KB
July 16 2020 17:09:12
inteuuod / inteuuod
0644
class-tables.php
13.046 KB
June 25 2024 02:23:32
inteuuod / inteuuod
0644
class-templates.php
43.835 KB
March 19 2025 15:13:04
inteuuod / inteuuod
0644
class-tools.php
38.828 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
class-user-notifications.php
5.606 KB
February 19 2025 22:09:02
inteuuod / inteuuod
0644
class-userswp.php
35.552 KB
February 04 2025 23:32:52
inteuuod / inteuuod
0644
class-uwp-background-updater.php
3.044 KB
June 27 2019 18:13:34
inteuuod / inteuuod
0644
class-uwp-compatibility.php
3.123 KB
October 10 2024 19:01:40
inteuuod / inteuuod
0644
class-uwp-defaults.php
9.666 KB
February 04 2025 23:32:52
inteuuod / inteuuod
0644
class-uwp-privacy-erasers.php
1.328 KB
May 24 2018 18:32:58
inteuuod / inteuuod
0644
class-uwp-privacy-exporters.php
3.309 KB
February 19 2020 16:22:32
inteuuod / inteuuod
0644
class-uwp-privacy.php
3.062 KB
December 20 2024 18:16:58
inteuuod / inteuuod
0644
class-uwp-seo.php
11.987 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
class-validation.php
15.852 KB
November 01 2023 11:49:38
inteuuod / inteuuod
0644
deprecated-functions.php
0.181 KB
January 23 2020 19:10:04
inteuuod / inteuuod
0644
helpers.php
0.502 KB
January 23 2020 19:10:04
inteuuod / inteuuod
0644
index.php
0.025 KB
July 27 2017 16:44:24
inteuuod / inteuuod
0644
template-functions.php
6.082 KB
December 12 2024 21:47:10
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF