Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
convertkit
/
admin
:
class-convertkit-admin-user.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ ?> <?php /** * ConvertKit Admin User class. * * @package ConvertKit * @author ConvertKit */ /** * Displays ConvertKit Tags assigned to a WordPress User. * * @package ConvertKit * @author ConvertKit */ class ConvertKit_Admin_User { /** * Registers action and filter hooks. * * @since 1.9.6 */ public function __construct() { // Bail if WordPress debugging is disabled. if ( ! defined( 'WP_DEBUG' ) || WP_DEBUG ) { add_action( 'show_user_profile', array( $this, 'add_customer_meta_fields' ) ); add_action( 'edit_user_profile', array( $this, 'add_customer_meta_fields' ) ); } } /** * Displays ConvertKit Tags assigned to the given WordPress User. * * @since 1.9.6 * * @param WP_User $user WordPress User. */ public function add_customer_meta_fields( $user ) { $convertkit_user = new ConvertKit_User( $user->ID ); } }