-
Notifications
You must be signed in to change notification settings - Fork 1
/
bulk-update-blocks.php
executable file
·40 lines (37 loc) · 1.42 KB
/
bulk-update-blocks.php
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
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* Plugin Name: Bulk Update Blocks
* Plugin Script: bulk-update-blocks.php
* Plugin URI: https://bdwm.be
* Description: Bulk Update Blocks. Insert/delete a block in a selection of posts or find and replace all occurences of a single block troughout your website.
* Version: 0.1
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Author: Jules Colle
* Author URI: https://bdwm.be
* Text Domain: bulk-update-blocks
*/
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
require __DIR__ . '/vendor/autoload.php';
include 'common.php';
include 'insert-blocks.php';
include 'delete-block.php';
include 'replace-block.php';
include 'contains-block.php';
include 'ajax.php';
include 'admin-interface.php';
include 'example-conversions.php';