Browse
For agents
About
Depicter — Popup & Slider Builder
/
trunk
Depicter — Popup & Slider Builder
vtrunk
Switch version
4.8.1
trunk
1.0.0
1.1.0
1.1.2
1.1.4
1.1.6
1.1.7
1.1.8
1.1.9
1.2.0
1.3.0
1.3.1
1.3.2
1.3.3
1.3.5
1.3.8
1.5.0
1.5.1
1.5.2
1.5.5
1.6.0
1.6.1
1.6.2
1.7.0
All 76 releases
Overview
Code
depicter
/
vendor
/
averta
/
wordpress
/
src
/
Utility
/
Plugin.php
Plugin.php
in Depicter — Popup & Slider Builder trunk, at vendor/averta/wordpress/src/Utility/Plugin.php
18 lines
436 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
namespace
Averta
\
WordPress
\
Utility
;
3
4
class
Plugin
5
{
6
/**
7
* Determines whether a plugin is active.
8
*
9
*
@param
string
$plugin_basename Path to the plugin file relative to the plugins directory.
10
*
11
*
@return
mixed
12
*/
13
public
static
function
isActive
(
$
plugin_basename
)
{
14
include_once
(
ABSPATH
.
'
wp-admin/includes/plugin.php
'
)
;
15
return
is_plugin_active
(
$
plugin_basename
)
;
16
}
17
}
18