PluginProbe ʕ •ᴥ•ʔ
Advanced Import / trunk
Advanced Import vtrunk
trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 2.0.0
advanced-import / includes / theme-template-library / patternswp.php
advanced-import / includes / theme-template-library Last commit date
acmethemes.php 3 months ago cosmoswp.php 3 weeks ago patternswp.php 3 months ago
patternswp.php
53 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
5
6 if ( ! class_exists( 'Advanced_Import_Theme_PatternsWP' ) ) {
7
8 /**
9 * Functions related to About Block
10 *
11 * @package Advanced Import
12 * @subpackage Advanced_Import_Theme_PatternsWP
13 * @since 1.4.6
14 */
15 class Advanced_Import_Theme_PatternsWP extends Advanced_Import_Theme_Template_Library_Base {
16
17
18 /**
19 * Theme author
20 * This class is created for patternswp theme
21 * Check for author
22 *
23 * @since 1.4.6
24 * @access protected
25 */
26 protected $theme_author = 'patternswp';
27
28 /**
29 * Gets an instance of this object.
30 * Prevents duplicate instances which avoid artefacts and improves performance.
31 *
32 * @static
33 * @access public
34 * @since 1.0.5
35 * @return object
36 */
37 public static function get_instance() {
38
39 // Store the instance locally to avoid private static replication.
40 static $instance = null;
41
42 // Only run these methods if they haven't been ran previously.
43 if ( null === $instance ) {
44 $instance = new self();
45 }
46
47 // Always return the instance.
48 return $instance;
49 }
50 }
51 }
52 Advanced_Import_Theme_PatternsWP::get_instance()->run();
53