mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- added hooks and integrations for JobBoardWP plugin;
This commit is contained in:
@@ -39,6 +39,7 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
|
||||
'friends' => '2.1.4',
|
||||
'groups' => '2.1.7',
|
||||
'instagram' => '2.0.5',
|
||||
'jobboardwp' => '1.0.0',
|
||||
'mailchimp' => '2.2.0',
|
||||
'messaging' => '2.2.5',
|
||||
'mycred' => '2.1.6',
|
||||
@@ -144,6 +145,20 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if JobBoardWP plugin is active
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function jobboardwp_active_check() {
|
||||
|
||||
if ( ! self::$active_plugins ) self::init();
|
||||
|
||||
return in_array( 'jobboardwp/jobboardwp.php', self::$active_plugins ) || array_key_exists( 'jobboardwp/jobboardwp.php', self::$active_plugins );
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if myCRED plugin is active
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user