Blender-org web-assets v2 upgrade #104116
12
themes/bthree/part-helper-bwa-wp-search-and-replace.php
Normal file
12
themes/bthree/part-helper-bwa-wp-search-and-replace.php
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Include this template part with 'get_template_part' to use BWA's search and replace development utilities for WordPress.
|
||||||
|
* Adjust the details if necessary.
|
||||||
|
*/
|
||||||
|
|
||||||
|
$wp_search_and_replace_path = get_template_directory() . '/assets_shared/dev-utils/wp-search-and-replace.php';
|
||||||
|
$map_file_name_path = get_template_directory() . '/assets_shared/dev-utils/search-and-replace-map-v2-upgrade-wp.txt';
|
||||||
|
|
||||||
|
include $wp_search_and_replace_path;
|
||||||
|
wp_search_and_replace($map_file_name_path, $dry_mode = true);
|
Loading…
Reference in New Issue
Block a user