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

interface_exists on interface

parent b6395d2f
No related branches found
No related tags found
1 merge request!5interface_exists on interface
Pipeline #7671 failed
<?php <?php
if ( ! class_exists( 'WPDesk_Translable' ) ) { if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once 'Translable.php'; require_once 'Translable.php';
} }
......
<?php <?php
if (!class_exists('WPDesk_Translable')) { if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once dirname(__FILE__) . '/../Translable.php'; require_once dirname(__FILE__) . '/../Translable.php';
} }
......
<?php <?php
if (!class_exists('WPDesk_Translable')) { if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once dirname(__FILE__) . '/../Translable.php'; require_once dirname(__FILE__) . '/../Translable.php';
} }
if ( ! class_exists( 'WPDesk_Buildable' ) ) { if ( ! class_exists( 'WPDesk_Buildable' ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment