Final. Deploy ready
This commit is contained in:
parent
2a1af0d3f7
commit
f3dc03cffc
12
wp-content/mu-plugins/acf-loader.php
Executable file
12
wp-content/mu-plugins/acf-loader.php
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Plugin Name: ACF Loader (MU)
|
||||||
|
* Description: Loads Advanced Custom Fields as an MU plugin.
|
||||||
|
* Ensures ACF is available on all child sites after deploy.
|
||||||
|
* Deploys automatically via mu-plugins/ sync.
|
||||||
|
* Version: 1.0
|
||||||
|
*/
|
||||||
|
$acf_path = WP_CONTENT_DIR . "/plugins/advanced-custom-fields/acf.php";
|
||||||
|
if ( file_exists( $acf_path ) ) {
|
||||||
|
require_once $acf_path;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user