Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-conte.../plugins/popup-bu.../com/helpers
File: ConfigDataHelper.php
{
[1500] Fix | Delete
$pageTemplates = array(
[1501] Fix | Delete
'page.php' => __('Default Template', 'popup-builder')
[1502] Fix | Delete
);
[1503] Fix | Delete
[1504] Fix | Delete
$templates = wp_get_theme()->get_page_templates();
[1505] Fix | Delete
if (empty($templates)) {
[1506] Fix | Delete
return $pageTemplates;
[1507] Fix | Delete
}
[1508] Fix | Delete
[1509] Fix | Delete
foreach ($templates as $key => $value) {
[1510] Fix | Delete
$pageTemplates[$key] = $value;
[1511] Fix | Delete
}
[1512] Fix | Delete
[1513] Fix | Delete
return $pageTemplates;
[1514] Fix | Delete
}
[1515] Fix | Delete
[1516] Fix | Delete
public static function getAllTags($search_text = '')
[1517] Fix | Delete
{
[1518] Fix | Delete
$allTags = array();
[1519] Fix | Delete
$tags = get_tags(array(
[1520] Fix | Delete
'hide_empty' => false,
[1521] Fix | Delete
'name__like' => $search_text
[1522] Fix | Delete
));
[1523] Fix | Delete
[1524] Fix | Delete
foreach ($tags as $tag) {
[1525] Fix | Delete
$allTags[$tag->slug] = $tag->name;
[1526] Fix | Delete
}
[1527] Fix | Delete
[1528] Fix | Delete
return $allTags;
[1529] Fix | Delete
}
[1530] Fix | Delete
public static function getTagsByIds($ids = [])
[1531] Fix | Delete
{
[1532] Fix | Delete
$allTags = array();
[1533] Fix | Delete
$tags = get_tags(array(
[1534] Fix | Delete
'hide_empty' => false,
[1535] Fix | Delete
'include' => $ids
[1536] Fix | Delete
));
[1537] Fix | Delete
foreach ($tags as $tag) {
[1538] Fix | Delete
$allTags[$tag->slug] = $tag->name;
[1539] Fix | Delete
}
[1540] Fix | Delete
return $allTags;
[1541] Fix | Delete
}
[1542] Fix | Delete
public static function getTagsBySlug($ids = [])
[1543] Fix | Delete
{
[1544] Fix | Delete
$allTags = array();
[1545] Fix | Delete
$tags = get_tags(array(
[1546] Fix | Delete
'hide_empty' => false,
[1547] Fix | Delete
'slug' => $ids
[1548] Fix | Delete
));
[1549] Fix | Delete
foreach ($tags as $tag) {
[1550] Fix | Delete
$allTags[$tag->slug] = $tag->name;
[1551] Fix | Delete
}
[1552] Fix | Delete
return $allTags;
[1553] Fix | Delete
}
[1554] Fix | Delete
[1555] Fix | Delete
public static function getTermsByIds($ids = array())
[1556] Fix | Delete
{
[1557] Fix | Delete
$allTags = array();
[1558] Fix | Delete
$terms = get_terms(array(
[1559] Fix | Delete
'hide_empty' => false,
[1560] Fix | Delete
'include' => $ids
[1561] Fix | Delete
));
[1562] Fix | Delete
foreach ($terms as $term) {
[1563] Fix | Delete
$allTags[$term->term_id] = $term->name;
[1564] Fix | Delete
}
[1565] Fix | Delete
return $allTags;
[1566] Fix | Delete
}
[1567] Fix | Delete
[1568] Fix | Delete
public static function defaultData()
[1569] Fix | Delete
{
[1570] Fix | Delete
$data = array();
[1571] Fix | Delete
[1572] Fix | Delete
$data['contentClickOptions'] = array(
[1573] Fix | Delete
'template' => array(
[1574] Fix | Delete
'fieldWrapperAttr' => array(
[1575] Fix | Delete
'class' => 'col-md-7 sgpb-choice-option-wrapper'
[1576] Fix | Delete
),
[1577] Fix | Delete
'labelAttr' => array(
[1578] Fix | Delete
'class' => 'formItem__title'
[1579] Fix | Delete
),
[1580] Fix | Delete
'groupWrapperAttr' => array(
[1581] Fix | Delete
'class' => 'subFormItem sgpb-choice-wrapper formItem'
[1582] Fix | Delete
)
[1583] Fix | Delete
),
[1584] Fix | Delete
'buttonPosition' => 'right',
[1585] Fix | Delete
'nextNewLine' => true,
[1586] Fix | Delete
'fields' => array(
[1587] Fix | Delete
array(
[1588] Fix | Delete
'attr' => array(
[1589] Fix | Delete
'type' => 'radio',
[1590] Fix | Delete
'name' => 'sgpb-content-click-behavior',
[1591] Fix | Delete
'value' => 'close'
[1592] Fix | Delete
),
[1593] Fix | Delete
'label' => array(
[1594] Fix | Delete
'name' => __('Close Popup', 'popup-builder').':'
[1595] Fix | Delete
)
[1596] Fix | Delete
),
[1597] Fix | Delete
array(
[1598] Fix | Delete
'attr' => array(
[1599] Fix | Delete
'type' => 'radio',
[1600] Fix | Delete
'name' => 'sgpb-content-click-behavior',
[1601] Fix | Delete
'data-attr-href' => 'content-click-redirect',
[1602] Fix | Delete
'value' => 'redirect'
[1603] Fix | Delete
),
[1604] Fix | Delete
'label' => array(
[1605] Fix | Delete
'name' => __('Redirect', 'popup-builder').':'
[1606] Fix | Delete
)
[1607] Fix | Delete
),
[1608] Fix | Delete
array(
[1609] Fix | Delete
'attr' => array(
[1610] Fix | Delete
'type' => 'radio',
[1611] Fix | Delete
'name' => 'sgpb-content-click-behavior',
[1612] Fix | Delete
'data-attr-href' => 'content-copy-to-clipboard',
[1613] Fix | Delete
'value' => 'copy'
[1614] Fix | Delete
),
[1615] Fix | Delete
'label' => array(
[1616] Fix | Delete
'name' => __('Copy to clipboard', 'popup-builder').':'
[1617] Fix | Delete
)
[1618] Fix | Delete
)
[1619] Fix | Delete
)
[1620] Fix | Delete
);
[1621] Fix | Delete
[1622] Fix | Delete
$data['customEditorContent'] = array(
[1623] Fix | Delete
'js' => array(
[1624] Fix | Delete
'helperText' => array(
[1625] Fix | Delete
'ShouldOpen' => '<b>Opening events:</b><br><br><b>#1</b> Add the code you want to run <b>before</b> the popup opening. This will be a condition for opening the popup, that is processed and defined before the popup opening. If the return value is <b>"true"</b> then the popup will open, if the value is <b>"false"</b> the popup won\'t open.',
[1626] Fix | Delete
'WillOpen' => '<b>#2</b> Add the code you want to run <b>before</b> the popup opens. This will be the code that will work in the process of opening the popup. <b>true/false</b> conditions will not work in this phase.',
[1627] Fix | Delete
'DidOpen' => '<b>#3</b> Add the code you want to run <b>after</b> the popup opens. This code will work when the popup is already open on the page.',
[1628] Fix | Delete
'ShouldClose' => '<b>Closing events:</b><br><br><b>#1</b> Add the code that will be fired <b>before</b> the popup closes. This will be a condition for the popup closing. If the return value is <b>"true"</b> then the popup will close, if the value is <b>"false"</b> the popup won\'t close.',
[1629] Fix | Delete
'WillClose' => '<b>#2</b> Add the code you want to run <b>before</b> the popup closes. This will be the code that will work in the process of closing the popup. <b>true/false</b> conditions will not work in this phase.',
[1630] Fix | Delete
'DidClose' => '<b>#3</b> Add the code you want to run <b>after</b> the popup closes. This code will work when the popup is already closed on the page.'
[1631] Fix | Delete
),
[1632] Fix | Delete
'description' => array(
[1633] Fix | Delete
'<span class="formItem__text">
[1634] Fix | Delete
'.__('If you need the popup id number in the custom code, you may use the following variable to get the ID:', 'popup-builder').'
[1635] Fix | Delete
<b>popupId</b>
[1636] Fix | Delete
</span>'
[1637] Fix | Delete
)
[1638] Fix | Delete
),
[1639] Fix | Delete
'css' => array(
[1640] Fix | Delete
// we need this oldDefaultValue for the backward compatibility
[1641] Fix | Delete
'oldDefaultValue' => array(
[1642] Fix | Delete
'/*popup content wrapper*/'."\n".
[1643] Fix | Delete
'.sgpb-content-popupId {'."\n\n".'}'."\n\n".
[1644] Fix | Delete
[1645] Fix | Delete
'/*overlay*/'."\n".
[1646] Fix | Delete
'.sgpb-popup-overlay-popupId {'."\n\n".'}'."\n\n".
[1647] Fix | Delete
[1648] Fix | Delete
'/*popup wrapper*/'."\n".
[1649] Fix | Delete
'.sgpb-popup-builder-content-popupId {'."\n\n".'}'."\n\n"
[1650] Fix | Delete
),
[1651] Fix | Delete
'helperText' => array(
[1652] Fix | Delete
'<br>/*popup content wrapper*/',
[1653] Fix | Delete
'.sgpb-content-popupId',
[1654] Fix | Delete
'<br>/*overlay*/',
[1655] Fix | Delete
'.sgpb-popup-overlay-popupId',
[1656] Fix | Delete
'<br>/*popup wrapper*/',
[1657] Fix | Delete
'.sgpb-popup-builder-content-popupId'
[1658] Fix | Delete
),
[1659] Fix | Delete
'description' => array(
[1660] Fix | Delete
'<span class="formItem__text">
[1661] Fix | Delete
'.__('If you need the popup id number in the custom code, you may use the following variable to get the ID:', 'popup-builder').'
[1662] Fix | Delete
<b>popupId</b>
[1663] Fix | Delete
</span>'
[1664] Fix | Delete
)
[1665] Fix | Delete
)
[1666] Fix | Delete
);
[1667] Fix | Delete
[1668] Fix | Delete
$data['htmlCustomButtonArgs'] = array(
[1669] Fix | Delete
'template' => array(
[1670] Fix | Delete
'fieldWrapperAttr' => array(
[1671] Fix | Delete
'class' => 'col-md-6 sgpb-choice-option-wrapper'
[1672] Fix | Delete
),
[1673] Fix | Delete
'labelAttr' => array(
[1674] Fix | Delete
'class' => 'col-md-6 sgpb-choice-option-wrapper sgpb-sub-option-label'
[1675] Fix | Delete
),
[1676] Fix | Delete
'groupWrapperAttr' => array(
[1677] Fix | Delete
'class' => 'row form-group sgpb-choice-wrapper'
[1678] Fix | Delete
)
[1679] Fix | Delete
),
[1680] Fix | Delete
'buttonPosition' => 'right',
[1681] Fix | Delete
'nextNewLine' => true,
[1682] Fix | Delete
'fields' => array(
[1683] Fix | Delete
array(
[1684] Fix | Delete
'attr' => array(
[1685] Fix | Delete
'type' => 'radio',
[1686] Fix | Delete
'name' => 'sgpb-custom-button',
[1687] Fix | Delete
'class' => 'custom-button-copy-to-clipboard',
[1688] Fix | Delete
'data-attr-href' => 'sgpb-custom-button-copy',
[1689] Fix | Delete
'value' => 'copyToClipBoard'
[1690] Fix | Delete
),
[1691] Fix | Delete
'label' => array(
[1692] Fix | Delete
'name' => __('Copy to clipboard', 'popup-builder').':'
[1693] Fix | Delete
)
[1694] Fix | Delete
),
[1695] Fix | Delete
array(
[1696] Fix | Delete
'attr' => array(
[1697] Fix | Delete
'type' => 'radio',
[1698] Fix | Delete
'name' => 'sgpb-custom-button',
[1699] Fix | Delete
'class' => 'custom-button-copy-to-clipboard',
[1700] Fix | Delete
'data-attr-href' => 'sgpb-custom-button-redirect-to-URL',
[1701] Fix | Delete
'value' => 'redirectToURL'
[1702] Fix | Delete
),
[1703] Fix | Delete
'label' => array(
[1704] Fix | Delete
'name' => __('Redirect to URL', 'popup-builder').':'
[1705] Fix | Delete
)
[1706] Fix | Delete
),
[1707] Fix | Delete
array(
[1708] Fix | Delete
'attr' => array(
[1709] Fix | Delete
'type' => 'radio',
[1710] Fix | Delete
'name' => 'sgpb-custom-button',
[1711] Fix | Delete
'class' => 'subs-success-open-popup',
[1712] Fix | Delete
'data-attr-href' => 'sgpb-custom-button-open-popup',
[1713] Fix | Delete
'value' => 'openPopup'
[1714] Fix | Delete
),
[1715] Fix | Delete
'label' => array(
[1716] Fix | Delete
'name' => __('Open popup', 'popup-builder').':'
[1717] Fix | Delete
)
[1718] Fix | Delete
),
[1719] Fix | Delete
array(
[1720] Fix | Delete
'attr' => array(
[1721] Fix | Delete
'type' => 'radio',
[1722] Fix | Delete
'name' => 'sgpb-custom-button',
[1723] Fix | Delete
'class' => 'sgpb-custom-button-hide-popup',
[1724] Fix | Delete
'value' => 'hidePopup'
[1725] Fix | Delete
),
[1726] Fix | Delete
'label' => array(
[1727] Fix | Delete
'name' => __('Hide popup', 'popup-builder').':'
[1728] Fix | Delete
)
[1729] Fix | Delete
)
[1730] Fix | Delete
)
[1731] Fix | Delete
);
[1732] Fix | Delete
[1733] Fix | Delete
$data['popupDimensions'] = array(
[1734] Fix | Delete
'template' => array(
[1735] Fix | Delete
'fieldWrapperAttr' => array(
[1736] Fix | Delete
'class' => 'col-md-7 sgpb-choice-option-wrapper'
[1737] Fix | Delete
),
[1738] Fix | Delete
'labelAttr' => array(
[1739] Fix | Delete
'class' => 'formItem__title'
[1740] Fix | Delete
),
[1741] Fix | Delete
'groupWrapperAttr' => array(
[1742] Fix | Delete
'class' => 'subFormItem sgpb-choice-wrapper sgpb-display-flex sgpb-align-item-center formItem'
[1743] Fix | Delete
)
[1744] Fix | Delete
),
[1745] Fix | Delete
'buttonPosition' => 'right',
[1746] Fix | Delete
'nextNewLine' => true,
[1747] Fix | Delete
'fields' => array(
[1748] Fix | Delete
array(
[1749] Fix | Delete
'attr' => array(
[1750] Fix | Delete
'type' => 'radio',
[1751] Fix | Delete
'name' => 'sgpb-popup-dimension-mode',
[1752] Fix | Delete
'class' => 'test class',
[1753] Fix | Delete
'data-attr-href' => 'responsive-dimension-wrapper',
[1754] Fix | Delete
'value' => 'responsiveMode'
[1755] Fix | Delete
),
[1756] Fix | Delete
'label' => array(
[1757] Fix | Delete
'name' => __('Responsive mode', 'popup-builder').':',
[1758] Fix | Delete
'info' => __('The sizes of the popup will be counted automatically, according to the content size of the popup. You can select the size in percentages, with this mode, to specify the size on the screen', 'popup-builder').'.'
[1759] Fix | Delete
)
[1760] Fix | Delete
),
[1761] Fix | Delete
array(
[1762] Fix | Delete
'attr' => array(
[1763] Fix | Delete
'type' => 'radio',
[1764] Fix | Delete
'name' => 'sgpb-popup-dimension-mode',
[1765] Fix | Delete
'class' => 'test class',
[1766] Fix | Delete
'data-attr-href' => 'custom-dimension-wrapper',
[1767] Fix | Delete
'value' => 'customMode'
[1768] Fix | Delete
),
[1769] Fix | Delete
'label' => array(
[1770] Fix | Delete
'name' => __('Custom mode', 'popup-builder').':',
[1771] Fix | Delete
'info' => __('Add your own custom dimensions for the popup to get the exact sizing for your popup', 'popup-builder').'.'
[1772] Fix | Delete
)
[1773] Fix | Delete
)
[1774] Fix | Delete
)
[1775] Fix | Delete
);
[1776] Fix | Delete
[1777] Fix | Delete
$data['theme'] = array(
[1778] Fix | Delete
array(
[1779] Fix | Delete
'value' => 'sgpb-theme-1',
[1780] Fix | Delete
'data-attributes' => array(
[1781] Fix | Delete
'class' => 'js-sgpb-popup-themes sgpb-popup-theme-1',
[1782] Fix | Delete
'data-popup-theme-number' => 1
[1783] Fix | Delete
)
[1784] Fix | Delete
),
[1785] Fix | Delete
array(
[1786] Fix | Delete
'value' => 'sgpb-theme-2',
[1787] Fix | Delete
'data-attributes' => array(
[1788] Fix | Delete
'class' => 'js-sgpb-popup-themes sgpb-popup-theme-2',
[1789] Fix | Delete
'data-popup-theme-number' => 2
[1790] Fix | Delete
)
[1791] Fix | Delete
),
[1792] Fix | Delete
array(
[1793] Fix | Delete
'value' => 'sgpb-theme-3',
[1794] Fix | Delete
'data-attributes' => array(
[1795] Fix | Delete
'class' => 'js-sgpb-popup-themes sgpb-popup-theme-3',
[1796] Fix | Delete
'data-popup-theme-number' => 3
[1797] Fix | Delete
)
[1798] Fix | Delete
),
[1799] Fix | Delete
array(
[1800] Fix | Delete
'value' => 'sgpb-theme-4',
[1801] Fix | Delete
'data-attributes' => array(
[1802] Fix | Delete
'class' => 'js-sgpb-popup-themes sgpb-popup-theme-4',
[1803] Fix | Delete
'data-popup-theme-number' => 4
[1804] Fix | Delete
)
[1805] Fix | Delete
),
[1806] Fix | Delete
array(
[1807] Fix | Delete
'value' => 'sgpb-theme-5',
[1808] Fix | Delete
'data-attributes' => array(
[1809] Fix | Delete
'class' => 'js-sgpb-popup-themes sgpb-popup-theme-5',
[1810] Fix | Delete
'data-popup-theme-number' => 5
[1811] Fix | Delete
)
[1812] Fix | Delete
),
[1813] Fix | Delete
array(
[1814] Fix | Delete
'value' => 'sgpb-theme-6',
[1815] Fix | Delete
'data-attributes' => array(
[1816] Fix | Delete
'class' => 'js-sgpb-popup-themes sgpb-popup-theme-6',
[1817] Fix | Delete
'data-popup-theme-number' => 6
[1818] Fix | Delete
)
[1819] Fix | Delete
)
[1820] Fix | Delete
);
[1821] Fix | Delete
[1822] Fix | Delete
$data['responsiveDimensions'] = array(
[1823] Fix | Delete
'auto' => __('Auto', 'popup-builder'),
[1824] Fix | Delete
'10' => '10%',
[1825] Fix | Delete
'20' => '20%',
[1826] Fix | Delete
'30' => '30%',
[1827] Fix | Delete
'40' => '40%',
[1828] Fix | Delete
'50' => '50%',
[1829] Fix | Delete
'60' => '60%',
[1830] Fix | Delete
'70' => '70%',
[1831] Fix | Delete
'80' => '80%',
[1832] Fix | Delete
'90' => '90%',
[1833] Fix | Delete
'100' => '100%',
[1834] Fix | Delete
'fullScreen' => __('Full screen', 'popup-builder')
[1835] Fix | Delete
);
[1836] Fix | Delete
[1837] Fix | Delete
$data['freeConditionsAdvancedTargeting'] = array(
[1838] Fix | Delete
'devices' => __('Devices', 'popup-builder'),
[1839] Fix | Delete
'user-status' => __('User Status', 'popup-builder'),
[1840] Fix | Delete
'after-x' => __('After x pages visit', 'popup-builder'),
[1841] Fix | Delete
'user-role' => __('User Role', 'popup-builder'),
[1842] Fix | Delete
'detect-by-url' => __('Referral URL detection', 'popup-builder'),
[1843] Fix | Delete
'cookie-detection' => __('Cookie Detection', 'popup-builder'),
[1844] Fix | Delete
'operation-system' => __('Operating System', 'popup-builder'),
[1845] Fix | Delete
'browser-detection' => __('Web Browser', 'popup-builder'),
[1846] Fix | Delete
'query-string' => __('URL Query String', 'popup-builder')
[1847] Fix | Delete
);
[1848] Fix | Delete
[1849] Fix | Delete
$data['freeConditionsGeoTargeting'] = array(
[1850] Fix | Delete
'countries' => __('Countries', 'popup-builder'),
[1851] Fix | Delete
'cities' => __('Cities', 'popup-builder'),
[1852] Fix | Delete
'states' => __('States', 'popup-builder'),
[1853] Fix | Delete
'visitor-ip' => __('Visitor IP', 'popup-builder')
[1854] Fix | Delete
);
[1855] Fix | Delete
[1856] Fix | Delete
$data['closeButtonPositions'] = array(
[1857] Fix | Delete
'topLeft' => __('top-left', 'popup-builder'),
[1858] Fix | Delete
'topRight' => __('top-right', 'popup-builder'),
[1859] Fix | Delete
'bottomLeft' => __('bottom-left', 'popup-builder'),
[1860] Fix | Delete
'bottomRight' => __('bottom-right', 'popup-builder')
[1861] Fix | Delete
);
[1862] Fix | Delete
[1863] Fix | Delete
$data['closeButtonPositionsFirstTheme'] = array(
[1864] Fix | Delete
'bottomLeft' => __('bottom-left', 'popup-builder'),
[1865] Fix | Delete
'bottomRight' => __('bottom-right', 'popup-builder')
[1866] Fix | Delete
);
[1867] Fix | Delete
[1868] Fix | Delete
$data['pxPercent'] = array(
[1869] Fix | Delete
'px' => 'px',
[1870] Fix | Delete
'%' => '%'
[1871] Fix | Delete
);
[1872] Fix | Delete
[1873] Fix | Delete
$data['countdownFormat'] = array(
[1874] Fix | Delete
SG_COUNTDOWN_COUNTER_SECONDS_SHOW => 'DD:HH:MM:SS',
[1875] Fix | Delete
SG_COUNTDOWN_COUNTER_SECONDS_HIDE => 'DD:HH:MM'
[1876] Fix | Delete
);
[1877] Fix | Delete
[1878] Fix | Delete
$data['countdownTimezone'] = self::getPopupTimeZone();
[1879] Fix | Delete
[1880] Fix | Delete
$data['countdownLanguage'] = array(
[1881] Fix | Delete
'English' => 'English',
[1882] Fix | Delete
'German' => 'Deutsche',
[1883] Fix | Delete
'Spanish' => 'Español',
[1884] Fix | Delete
'Arabic' => 'عربى',
[1885] Fix | Delete
'Italian' => 'Italiano',
[1886] Fix | Delete
'Dutch' => 'Dutch',
[1887] Fix | Delete
'Norwegian' => 'Norsk',
[1888] Fix | Delete
'Portuguese' => 'Português',
[1889] Fix | Delete
'Russian' => 'Русский',
[1890] Fix | Delete
'Swedish' => 'Svenska',
[1891] Fix | Delete
'Czech' => 'Čeština',
[1892] Fix | Delete
'Chinese' => '中文'
[1893] Fix | Delete
);
[1894] Fix | Delete
[1895] Fix | Delete
$data['weekDaysArray'] = array(
[1896] Fix | Delete
'Mon' => __('Monday'),
[1897] Fix | Delete
'Tue' => __('Tuesday'),
[1898] Fix | Delete
'Wed' => __('Wednesday'),
[1899] Fix | Delete
'Thu' => __('Thursday'),
[1900] Fix | Delete
'Fri' => __('Friday'),
[1901] Fix | Delete
'Sat' => __('Saturday'),
[1902] Fix | Delete
'Sun' => __('Sunday')
[1903] Fix | Delete
);
[1904] Fix | Delete
[1905] Fix | Delete
$data['messageResize'] = array(
[1906] Fix | Delete
'both' => __('Both', 'popup-builder'),
[1907] Fix | Delete
'horizontal' => __('Horizontal', 'popup-builder'),
[1908] Fix | Delete
'vertical' => __('Vertical', 'popup-builder'),
[1909] Fix | Delete
'none' => __('None', 'popup-builder'),
[1910] Fix | Delete
'inherit' => __('Inherit', 'popup-builder')
[1911] Fix | Delete
);
[1912] Fix | Delete
[1913] Fix | Delete
$data['socialShareOptions'] = array(
[1914] Fix | Delete
'template' => array(
[1915] Fix | Delete
'fieldWrapperAttr' => array(
[1916] Fix | Delete
'class' => 'col-md-7 sgpb-choice-option-wrapper'
[1917] Fix | Delete
),
[1918] Fix | Delete
'labelAttr' => array(
[1919] Fix | Delete
'class' => 'col-md-5 sgpb-choice-option-wrapper'
[1920] Fix | Delete
),
[1921] Fix | Delete
'groupWrapperAttr' => array(
[1922] Fix | Delete
'class' => 'row form-group sgpb-choice-wrapper'
[1923] Fix | Delete
)
[1924] Fix | Delete
),
[1925] Fix | Delete
'buttonPosition' => 'right',
[1926] Fix | Delete
'nextNewLine' => true,
[1927] Fix | Delete
'fields' => array(
[1928] Fix | Delete
array(
[1929] Fix | Delete
'attr' => array(
[1930] Fix | Delete
'type' => 'radio',
[1931] Fix | Delete
'name' => 'sgpb-social-share-url-type',
[1932] Fix | Delete
'class' => 'sgpb-share-url-type',
[1933] Fix | Delete
'data-attr-href' => '',
[1934] Fix | Delete
'value' => 'activeUrl'
[1935] Fix | Delete
),
[1936] Fix | Delete
'label' => array(
[1937] Fix | Delete
'name' => __('Use active URL', 'popup-builder').':'
[1938] Fix | Delete
)
[1939] Fix | Delete
),
[1940] Fix | Delete
array(
[1941] Fix | Delete
'attr' => array(
[1942] Fix | Delete
'type' => 'radio',
[1943] Fix | Delete
'name' => 'sgpb-social-share-url-type',
[1944] Fix | Delete
'class' => 'sgpb-share-url-type',
[1945] Fix | Delete
'data-attr-href' => 'sgpb-social-share-url-wrapper',
[1946] Fix | Delete
'value' => 'shareUrl'
[1947] Fix | Delete
),
[1948] Fix | Delete
'label' => array(
[1949] Fix | Delete
'name' => __('Share URL', 'popup-builder').':'
[1950] Fix | Delete
)
[1951] Fix | Delete
)
[1952] Fix | Delete
)
[1953] Fix | Delete
);
[1954] Fix | Delete
[1955] Fix | Delete
$data['countdownDateFormat'] = array(
[1956] Fix | Delete
'template' => array(
[1957] Fix | Delete
'fieldWrapperAttr' => array(
[1958] Fix | Delete
'class' => 'col-md-5 sgpb-choice-option-wrapper'
[1959] Fix | Delete
),
[1960] Fix | Delete
'labelAttr' => array(
[1961] Fix | Delete
'class' => 'col-md-5 sgpb-choice-option-wrapper sgpb-sub-option-label'
[1962] Fix | Delete
),
[1963] Fix | Delete
'groupWrapperAttr' => array(
[1964] Fix | Delete
'class' => 'row form-group sgpb-choice-wrapper'
[1965] Fix | Delete
)
[1966] Fix | Delete
),
[1967] Fix | Delete
'buttonPosition' => 'right',
[1968] Fix | Delete
'nextNewLine' => true,
[1969] Fix | Delete
'fields' => array(
[1970] Fix | Delete
array(
[1971] Fix | Delete
'attr' => array(
[1972] Fix | Delete
'type' => 'radio',
[1973] Fix | Delete
'name' => 'sgpb-countdown-date-format',
[1974] Fix | Delete
'class' => 'sgpb-countdown-date-format-from-date',
[1975] Fix | Delete
'data-attr-href' => 'sgpb-countdown-date-format-from-date',
[1976] Fix | Delete
'value' => 'date'
[1977] Fix | Delete
),
[1978] Fix | Delete
'label' => array(
[1979] Fix | Delete
'name' => __('Due Date', 'popup-builder').':'
[1980] Fix | Delete
)
[1981] Fix | Delete
),
[1982] Fix | Delete
array(
[1983] Fix | Delete
'attr' => array(
[1984] Fix | Delete
'type' => 'radio',
[1985] Fix | Delete
'name' => 'sgpb-countdown-date-format',
[1986] Fix | Delete
'class' => 'sgpb-countdown-date-format-from-date',
[1987] Fix | Delete
'data-attr-href' => 'sgpb-countdown-date-format-from-input',
[1988] Fix | Delete
'value' => 'input'
[1989] Fix | Delete
),
[1990] Fix | Delete
'label' => array(
[1991] Fix | Delete
'name' => __('Timer', 'popup-builder').':'
[1992] Fix | Delete
)
[1993] Fix | Delete
)
[1994] Fix | Delete
)
[1995] Fix | Delete
);
[1996] Fix | Delete
[1997] Fix | Delete
$data['socialShareTheme'] = array(
[1998] Fix | Delete
array(
[1999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function