Skip to content
Snippets Groups Projects
Commit 84585070 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Sprawdzenie czy interfejs nie istnieje (gdy zadeklarowany w innej wtyczce).

parent 463c9e5b
No related branches found
No related tags found
1 merge request!12Merge of devel-interface-exists to devel
......@@ -4,9 +4,12 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
if ( !interface_exists( 'WPDesk_Plugin_Factory_1_10' ) ) {
interface WPDesk_Plugin_Factory_1_10 {
const WPDESK_FILTER_PLUGIN_CLASS = 'wpdesk_plugin_class';
static function build_plugin();
static function get_plugin_instance();
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment