Current Path: > home > transcarter > public_html > wp-content > > plugins > leadin > public > > data
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
class-filters.php | File | 6821 bytes | July 17 2025 21:06:25. | |
class-portal-options.php | File | 7275 bytes | July 17 2025 21:06:25. | |
class-user-metadata.php | File | 2470 bytes | July 17 2025 21:06:25. | |
class-user.php | File | 1344 bytes | July 17 2025 21:06:25. |
<?php namespace Leadin\data; use Leadin\data\User; /** * Handles metadata for users in the admin area. */ class User_Metadata { const SKIP_REVIEW = 'leadin_skip_review'; const REVIEW_BANNER_LAST_CALL = 'leadin_review_banner_last_call'; const HAS_MIN_CONTACTS = 'leadin_has_min_contacts'; const TRACK_CONSENT = 'leadin_track_consent'; const FIRST_NAME = 'first_name'; const NICKNAME = 'nickname'; /** * Get FIRST_NAME meta data for a user. */ public static function get_first_name() { return User::get_metadata( self::FIRST_NAME ); } /** * Get NICKNAME meta data for a user. */ public static function get_nickname() { return User::get_metadata( self::NICKNAME ); } /** * Set SKIP_REVIEW meta data for a user. * * @param int $skip_epoch Epoch time of when the review was skipped. */ public static function set_skip_review( $skip_epoch ) { return User::set_metadata( self::SKIP_REVIEW, $skip_epoch ); } /** * Get SKIP_REVIEW meta data for a user. */ public static function get_skip_review() { return User::get_metadata( self::SKIP_REVIEW ); } /** * Set REVIEW_BANNER_LAST_CALL meta data for a user. * * @param int $skip_epoch Epoch time of when the review was skipped. */ public static function set_review_banner_last_call( $skip_epoch ) { return User::set_metadata( self::REVIEW_BANNER_LAST_CALL, $skip_epoch ); } /** * Get REVIEW_BANNER_LAST_CALL meta data for a user. */ public static function get_review_banner_last_call() { return User::get_metadata( self::REVIEW_BANNER_LAST_CALL ); } /** * Set HAS_MIN_CONTACTS meta data for a user. * * @param bool $value Boolean to see if contacts already been fetched and fulfill threshold. */ public static function set_has_min_contacts( $value ) { return User::set_metadata( self::HAS_MIN_CONTACTS, $value ); } /** * Get HAS_MIN_CONTACTS meta data for a user. */ public static function get_has_min_contacts() { return User::get_metadata( self::HAS_MIN_CONTACTS ); } /** * Set TRACK_CONSENT meta data for a user. * * @param bool $consent User consent to anonymous tracking. */ public static function set_track_consent( $consent ) { return User::set_metadata( self::TRACK_CONSENT, $consent ); } /** * Get TRACK_CONSENT meta data for a user. */ public static function get_track_consent() { return User::get_metadata( self::TRACK_CONSENT ); } }
SILENT KILLER Tool