-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfn-saw.php
57 lines (48 loc) · 1.98 KB
/
fn-saw.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/*
Plugin Name: San Antonio Weddings - Custom Functionality
Plugin URI: https://friday-next.com
Description: This plugin enhances the functionality of the San Antonio Weddings website, without altering the child theme's functions.php file, so it will survive theme updates / changes.
Version: 1.2.5
Author: Friday Next
Author URI: https://friday-next.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saw-fn-saw
San Antonio Weddings - Custom Functionality is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
any later version.
San Antonio Weddings - Custom Functionality is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with San Antonio Weddings - Custom Functionality. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
*/
if ( ! class_exists('InstagramUserFeed' ) ):
/**
* Creates the Pinterest feed class instance.
* @since 1.2.2
*/
require_once dirname(__FILE__) . '/includes/InstagramUserFeed/InstagramUserFeed.php';
endif;
if ( ! class_exists('SawConfig' ) ):
/**
* Creates the SawConfig class instance.
* @since 1.2.2
*/
require_once dirname( __FILE__ ) . '/includes/Config/SawConfig.php';
endif;
if ( ! function_exists( 'saw_initialize_extension' ) ):
/**
* Creates the extension's main class instance.
* @since 1.0.0
*/
function saw_initialize_extension() {
require_once plugin_dir_path( __FILE__ ) . 'functions.php';
}
add_action( 'after_setup_theme', 'saw_initialize_extension', 15 );
endif;
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once( __DIR__ . '/vendor/autoload.php' );
}
$fn_saw_dir = dirname( __FILE__ );