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 | |
function sas_CMB2_convert() { | |
$sas_CMB2_TinyMCE_fields = array( | |
0 => array( | |
"CMB2_group" => "repeat_group_name", //name of the repeat group | |
"CMB2_field" => "field_name" //name of the field w/in the repeat group to translate | |
) | |
); |
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 | |
/** | |
* Plugin Name: SAS Translate CMB2 repeating | |
* Description: Get post ID's that need translation with RAMP when they are in a repeating custom field | |
* Version: 0.1 | |
* Author: Lisa Linn Allen, SAS | |
*/ | |
/** |