-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathfunctions.php
More file actions
28 lines (24 loc) · 1.07 KB
/
Copy pathfunctions.php
File metadata and controls
28 lines (24 loc) · 1.07 KB
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
<?php
/**
* Newspack Block Theme functions and definitions
* Version: 1.28.1
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Newspack Block Theme
*/
defined( 'ABSPATH' ) || exit;
// Define NEWSPACK_BLOCK_THEME_FILE.
if ( ! defined( 'NEWSPACK_BLOCK_THEME_FILE' ) ) {
define( 'NEWSPACK_BLOCK_THEME_FILE', __FILE__ );
define( 'NEWSPACK_BLOCK_THEME_FILE_PATH', plugin_dir_path( NEWSPACK_BLOCK_THEME_FILE ) );
define( 'NEWSPACK_BLOCK_THEME_URL', plugin_dir_url( NEWSPACK_BLOCK_THEME_FILE ) );
define( 'NEWSPACK_BLOCK_THEME_VERSION', '1.28.1' );
}
// Include theme resources.
require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/class-core.php';
require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/blocks/index.php';
require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/class-patterns.php';
require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/class-jetpack.php';
require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/class-woocommerce.php';
require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/class-newspack-newsletters.php';