PluginProbe
Social Share Buttons / 1.7
Social Share Buttons v1.7
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / admin / save_meta_boxes.php

save_meta_boxes.php in Social Share Buttons 1.7, at admin/save_meta_boxes.php

22 lines 513 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace MBSocial;
3 defined('ABSPATH') or die('No direct access permitted');
4
5 // defined $post_type and $post in function
6 use MaxButtons\maxButton as maxButton;
7 $button = MB()->getClass('button'); // this loads the maxblocks template files
8
9 $collection_ids = collections::getCollections();
10
11 if (count($collection_ids) == 0)
12 return; // no collection no meta
13
14 foreach ($collection_ids as $collection_id)
15 {
16 $collection = new collection($collection_id);
17
18 $collection->save_meta_boxes($post_id, $_POST);
19
20
21 }
22