HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/www/wp-content/plugins/neobeat-core/inc/roles/helper.php
<?php

if ( ! function_exists( 'neobeat_core_include_role_custom_fields' ) ) {
	/**
	 * Function that includes role custom fields files
	 */
	function neobeat_core_include_role_custom_fields() {
		foreach ( glob( NEOBEAT_CORE_INC_PATH . '/roles/*/role-fields.php' ) as $role_fields ) {
			include_once $role_fields;
		}
	}
	
	add_action( 'qode_framework_action_custom_user_fields', 'neobeat_core_include_role_custom_fields' );
}

if ( ! function_exists( 'neobeat_core_register_role_custom_fields' ) ) {
	/**
	 * Function that registers role custom fields files
	 */
	function neobeat_core_register_role_custom_fields() {
		do_action( 'neobeat_core_action_register_role_custom_fields' );
	}
	
	add_action( 'qode_framework_action_custom_user_fields', 'neobeat_core_register_role_custom_fields', 11 );
}