Created
August 19, 2024 14:09
-
-
Save emre-edu-tech/21b2d30cf56d3f976101498c75d70afd to your computer and use it in GitHub Desktop.
This filter is used with All In One WP Migration plugin to exclude the stated folders from the export.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('ai1wm_exclude_content_from_export', function($exclude_filters) { | |
$exclude_filters[] = 'themes/your-theme-name'; | |
return $exclude_filters; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment