mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Move BFAL require to allow plugin's files the change to load first
This commit is contained in:
@@ -30,9 +30,6 @@ require_once dirname( __FILE__ ) . '/includes/widget-areas/widget-areas.php';
|
||||
// Plugin activation class.
|
||||
require_once dirname( __FILE__ ) . '/lib/class-tgm-plugin-activation.php';
|
||||
|
||||
// Better Font Awesome Library.
|
||||
require_once dirname( __FILE__ ) . '/lib/better-font-awesome-library/better-font-awesome-library.php';
|
||||
|
||||
// Dev utility functions.
|
||||
require_once dirname( __FILE__ ) . '/includes/utilities/utilities.php';
|
||||
|
||||
|
||||
@@ -55,6 +55,9 @@ add_action( 'init', 'trestle_load_bfa' );
|
||||
*/
|
||||
function trestle_load_bfa() {
|
||||
|
||||
// Better Font Awesome Library
|
||||
require_once get_stylesheet_directory() . '/lib/better-font-awesome-library/better-font-awesome-library.php';
|
||||
|
||||
// Set the library initialization args.
|
||||
$args = array(
|
||||
'version' => 'latest',
|
||||
|
||||
Reference in New Issue
Block a user