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/clone/wp-conte.../plugins/embedpre.../EmbedPre.../Elemento.../Widgets
File: Embedpress_Elementor.php
'label_block' => false,
[1500] Fix | Delete
'return_value' => 'yes',
[1501] Fix | Delete
'default' => 'yes',
[1502] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1503] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1504] Fix | Delete
'condition' => [
[1505] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud',
[1506] Fix | Delete
'embedpress_pro_soundcloud_visual!' => 'yes'
[1507] Fix | Delete
],
[1508] Fix | Delete
]
[1509] Fix | Delete
);
[1510] Fix | Delete
[1511] Fix | Delete
$this->add_control(
[1512] Fix | Delete
'embedpress_pro_soundcloud_user_name',
[1513] Fix | Delete
[
[1514] Fix | Delete
'label' => __('User Name', 'embedpress'),
[1515] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1516] Fix | Delete
'label_block' => false,
[1517] Fix | Delete
'return_value' => 'yes',
[1518] Fix | Delete
'default' => 'yes',
[1519] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1520] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1521] Fix | Delete
'condition' => [
[1522] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1523] Fix | Delete
],
[1524] Fix | Delete
]
[1525] Fix | Delete
);
[1526] Fix | Delete
[1527] Fix | Delete
$this->add_control(
[1528] Fix | Delete
'embedpress_pro_soundcloud_buy_button',
[1529] Fix | Delete
[
[1530] Fix | Delete
'label' => sprintf(__('Buy Button %s', 'embedpress'), $this->pro_text),
[1531] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1532] Fix | Delete
'label_block' => false,
[1533] Fix | Delete
'return_value' => 'yes',
[1534] Fix | Delete
'default' => 'yes',
[1535] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1536] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1537] Fix | Delete
'condition' => [
[1538] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1539] Fix | Delete
],
[1540] Fix | Delete
'classes' => $this->pro_class,
[1541] Fix | Delete
]
[1542] Fix | Delete
);
[1543] Fix | Delete
$this->add_control(
[1544] Fix | Delete
'embedpress_pro_soundcloud_download_button',
[1545] Fix | Delete
[
[1546] Fix | Delete
'label' => sprintf(__('Download Button %s', 'embedpress'), $this->pro_text),
[1547] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1548] Fix | Delete
'label_block' => false,
[1549] Fix | Delete
'return_value' => 'yes',
[1550] Fix | Delete
'default' => 'yes',
[1551] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1552] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1553] Fix | Delete
'condition' => [
[1554] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1555] Fix | Delete
],
[1556] Fix | Delete
'classes' => $this->pro_class,
[1557] Fix | Delete
]
[1558] Fix | Delete
);
[1559] Fix | Delete
}
[1560] Fix | Delete
//End SoundCloud controls
[1561] Fix | Delete
[1562] Fix | Delete
/**
[1563] Fix | Delete
* Vimeo Controls
[1564] Fix | Delete
*/
[1565] Fix | Delete
public function init_vimeo_controls()
[1566] Fix | Delete
{
[1567] Fix | Delete
[1568] Fix | Delete
[1569] Fix | Delete
[1570] Fix | Delete
$this->add_control(
[1571] Fix | Delete
'embedpress_pro_vimeo_color',
[1572] Fix | Delete
[
[1573] Fix | Delete
'label' => __('Scheme', 'embedpress'),
[1574] Fix | Delete
'type' => Controls_Manager::COLOR,
[1575] Fix | Delete
'label_block' => false,
[1576] Fix | Delete
'default' => '#00adef',
[1577] Fix | Delete
'condition' => [
[1578] Fix | Delete
'emberpress_custom_player!' => 'yes',
[1579] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo'
[1580] Fix | Delete
]
[1581] Fix | Delete
]
[1582] Fix | Delete
);
[1583] Fix | Delete
[1584] Fix | Delete
$this->add_control(
[1585] Fix | Delete
'embedpress_pro_vimeo_author_options',
[1586] Fix | Delete
[
[1587] Fix | Delete
'label' => __('Author Information', 'embedpress'),
[1588] Fix | Delete
'type' => Controls_Manager::HEADING,
[1589] Fix | Delete
'separator' => 'before',
[1590] Fix | Delete
'condition' => [
[1591] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo',
[1592] Fix | Delete
'emberpress_custom_player!' => 'yes',
[1593] Fix | Delete
]
[1594] Fix | Delete
]
[1595] Fix | Delete
);
[1596] Fix | Delete
[1597] Fix | Delete
$this->add_control(
[1598] Fix | Delete
'embedpress_pro_vimeo_display_title',
[1599] Fix | Delete
[
[1600] Fix | Delete
'label' => __('Title', 'embedpress'),
[1601] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1602] Fix | Delete
'label_block' => false,
[1603] Fix | Delete
'return_value' => 'yes',
[1604] Fix | Delete
'default' => 'yes',
[1605] Fix | Delete
'condition' => [
[1606] Fix | Delete
'emberpress_custom_player!' => 'yes',
[1607] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo'
[1608] Fix | Delete
]
[1609] Fix | Delete
]
[1610] Fix | Delete
);
[1611] Fix | Delete
[1612] Fix | Delete
//----- Vimeo PRO controls
[1613] Fix | Delete
[1614] Fix | Delete
$this->add_control(
[1615] Fix | Delete
'embedpress_pro_vimeo_display_author',
[1616] Fix | Delete
[
[1617] Fix | Delete
'label' => __('Author', 'embedpress'),
[1618] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1619] Fix | Delete
'label_block' => false,
[1620] Fix | Delete
'return_value' => 'yes',
[1621] Fix | Delete
'default' => 'yes',
[1622] Fix | Delete
'condition' => [
[1623] Fix | Delete
'emberpress_custom_player!' => 'yes',
[1624] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo'
[1625] Fix | Delete
],
[1626] Fix | Delete
]
[1627] Fix | Delete
);
[1628] Fix | Delete
[1629] Fix | Delete
$this->add_control(
[1630] Fix | Delete
'embedpress_pro_vimeo_avatar',
[1631] Fix | Delete
[
[1632] Fix | Delete
'label' => __('Avatar', 'embedpress'),
[1633] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1634] Fix | Delete
'label_block' => false,
[1635] Fix | Delete
'return_value' => 'yes',
[1636] Fix | Delete
'default' => 'yes',
[1637] Fix | Delete
'condition' => [
[1638] Fix | Delete
'emberpress_custom_player!' => 'yes',
[1639] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo'
[1640] Fix | Delete
],
[1641] Fix | Delete
]
[1642] Fix | Delete
);
[1643] Fix | Delete
[1644] Fix | Delete
$this->add_control(
[1645] Fix | Delete
'embedpress_pro_vimeo_loop',
[1646] Fix | Delete
[
[1647] Fix | Delete
'label' => sprintf(__('Loop %s', 'embedpress'), $this->pro_text),
[1648] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1649] Fix | Delete
'label_block' => false,
[1650] Fix | Delete
'return_value' => 'yes',
[1651] Fix | Delete
'default' => 'no',
[1652] Fix | Delete
'condition' => [
[1653] Fix | Delete
'emberpress_custom_player!' => 'yes',
[1654] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo'
[1655] Fix | Delete
],
[1656] Fix | Delete
'classes' => $this->pro_class,
[1657] Fix | Delete
]
[1658] Fix | Delete
);
[1659] Fix | Delete
[1660] Fix | Delete
$this->init_branding_controls('vimeo');
[1661] Fix | Delete
}
[1662] Fix | Delete
//End Vimeo controls
[1663] Fix | Delete
[1664] Fix | Delete
[1665] Fix | Delete
/**
[1666] Fix | Delete
* Spotify Controls
[1667] Fix | Delete
*/
[1668] Fix | Delete
public function init_spotify_controls()
[1669] Fix | Delete
{
[1670] Fix | Delete
$condition = [
[1671] Fix | Delete
'embedpress_pro_embeded_source' => 'spotify'
[1672] Fix | Delete
];
[1673] Fix | Delete
[1674] Fix | Delete
$this->add_control(
[1675] Fix | Delete
'spotify_theme',
[1676] Fix | Delete
[
[1677] Fix | Delete
'label' => __('Player Background', 'embedpress'),
[1678] Fix | Delete
'description' => __('Dynamic option will use the most vibrant color from the album art.', 'embedpress'),
[1679] Fix | Delete
'type' => Controls_Manager::SELECT,
[1680] Fix | Delete
'label_block' => false,
[1681] Fix | Delete
'default' => '1',
[1682] Fix | Delete
'options' => [
[1683] Fix | Delete
'1' => __('Dynamic', 'embedpress'),
[1684] Fix | Delete
'0' => __('Black & White', 'embedpress')
[1685] Fix | Delete
],
[1686] Fix | Delete
'condition' => $condition
[1687] Fix | Delete
]
[1688] Fix | Delete
);
[1689] Fix | Delete
}
[1690] Fix | Delete
//End Spotify controls
[1691] Fix | Delete
[1692] Fix | Delete
/**
[1693] Fix | Delete
* OpenSea Controls
[1694] Fix | Delete
*/
[1695] Fix | Delete
public function init_opensea_control()
[1696] Fix | Delete
{
[1697] Fix | Delete
$condition = [
[1698] Fix | Delete
'embedpress_pro_embeded_source' => 'opensea'
[1699] Fix | Delete
];
[1700] Fix | Delete
[1701] Fix | Delete
$this->add_control(
[1702] Fix | Delete
'limit',
[1703] Fix | Delete
[
[1704] Fix | Delete
'type' => \Elementor\Controls_Manager::NUMBER,
[1705] Fix | Delete
'label' => esc_html__('Limit', 'embedpress'),
[1706] Fix | Delete
'placeholder' => '9',
[1707] Fix | Delete
'min' => 1,
[1708] Fix | Delete
'max' => 100,
[1709] Fix | Delete
'step' => 1,
[1710] Fix | Delete
'default' => 20,
[1711] Fix | Delete
'condition' => [
[1712] Fix | Delete
'embedpress_pro_embeded_nft_type' => ['collection'],
[1713] Fix | Delete
'embedpress_pro_embeded_source!' => [
[1714] Fix | Delete
'default',
[1715] Fix | Delete
'youtube',
[1716] Fix | Delete
'vimeo',
[1717] Fix | Delete
'dailymotion',
[1718] Fix | Delete
'wistia',
[1719] Fix | Delete
'twitch',
[1720] Fix | Delete
'soundcloud',
[1721] Fix | Delete
'instafeed',
[1722] Fix | Delete
'calendly',
[1723] Fix | Delete
'selfhosted_video',
[1724] Fix | Delete
'selfhosted_audio',
[1725] Fix | Delete
],
[1726] Fix | Delete
],
[1727] Fix | Delete
]
[1728] Fix | Delete
);
[1729] Fix | Delete
[1730] Fix | Delete
[1731] Fix | Delete
$this->add_control(
[1732] Fix | Delete
'orderby',
[1733] Fix | Delete
[
[1734] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[1735] Fix | Delete
'label' => esc_html__('Order By', 'embedpress'),
[1736] Fix | Delete
'options' => [
[1737] Fix | Delete
'asc' => esc_html__('Oldest', 'embedpress'),
[1738] Fix | Delete
'desc' => esc_html__('Newest', 'embedpress'),
[1739] Fix | Delete
],
[1740] Fix | Delete
'default' => 'desc',
[1741] Fix | Delete
'condition' => [
[1742] Fix | Delete
'embedpress_pro_embeded_nft_type' => ['collection'],
[1743] Fix | Delete
'embedpress_pro_embeded_source!' => [
[1744] Fix | Delete
'default',
[1745] Fix | Delete
'youtube',
[1746] Fix | Delete
'vimeo',
[1747] Fix | Delete
'dailymotion',
[1748] Fix | Delete
'wistia',
[1749] Fix | Delete
'twitch',
[1750] Fix | Delete
'soundcloud',
[1751] Fix | Delete
'instafeed',
[1752] Fix | Delete
'calendly',
[1753] Fix | Delete
'selfhosted_video',
[1754] Fix | Delete
'selfhosted_audio',
[1755] Fix | Delete
],
[1756] Fix | Delete
],
[1757] Fix | Delete
]
[1758] Fix | Delete
);
[1759] Fix | Delete
}
[1760] Fix | Delete
[1761] Fix | Delete
public function init_opensea_control_section()
[1762] Fix | Delete
{
[1763] Fix | Delete
$condition = [
[1764] Fix | Delete
'embedpress_pro_embeded_source' => 'opensea',
[1765] Fix | Delete
];
[1766] Fix | Delete
[1767] Fix | Delete
$this->start_controls_section(
[1768] Fix | Delete
'embedpress_opensea_control_section',
[1769] Fix | Delete
[
[1770] Fix | Delete
'label' => __('OpenSea Control Settings', 'embedpress'),
[1771] Fix | Delete
'condition' => $condition,
[1772] Fix | Delete
]
[1773] Fix | Delete
);
[1774] Fix | Delete
[1775] Fix | Delete
$this->add_control(
[1776] Fix | Delete
'opense_important_note_single',
[1777] Fix | Delete
[
[1778] Fix | Delete
'type' => \Elementor\Controls_Manager::RAW_HTML,
[1779] Fix | Delete
'raw' => esc_html__('These options take effect only when a Opensea Single Asset is embedded.', 'embedpress'),
[1780] Fix | Delete
'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
[1781] Fix | Delete
'condition' => [
[1782] Fix | Delete
'embedpress_pro_embeded_nft_type' => 'single'
[1783] Fix | Delete
],
[1784] Fix | Delete
[1785] Fix | Delete
]
[1786] Fix | Delete
);
[1787] Fix | Delete
$this->add_control(
[1788] Fix | Delete
'opense_important_note_collection',
[1789] Fix | Delete
[
[1790] Fix | Delete
'type' => \Elementor\Controls_Manager::RAW_HTML,
[1791] Fix | Delete
'raw' => esc_html__('These options take effect only when a Opensea Collection is embedded.', 'embedpress'),
[1792] Fix | Delete
'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
[1793] Fix | Delete
'condition' => [
[1794] Fix | Delete
'embedpress_pro_embeded_nft_type' => 'collection'
[1795] Fix | Delete
],
[1796] Fix | Delete
]
[1797] Fix | Delete
);
[1798] Fix | Delete
[1799] Fix | Delete
$this->add_control(
[1800] Fix | Delete
'layout',
[1801] Fix | Delete
[
[1802] Fix | Delete
'label' => __('Layout', 'embedpress'),
[1803] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[1804] Fix | Delete
'label_block' => false,
[1805] Fix | Delete
'default' => 'ep-grid',
[1806] Fix | Delete
'options' => [
[1807] Fix | Delete
'ep-grid' => esc_html__('Grid', 'embedpress'),
[1808] Fix | Delete
'ep-list' => esc_html__('List', 'embedpress'),
[1809] Fix | Delete
],
[1810] Fix | Delete
'conditions' => [
[1811] Fix | Delete
'terms' => [
[1812] Fix | Delete
[
[1813] Fix | Delete
'name' => 'embedpress_pro_embeded_nft_type',
[1814] Fix | Delete
'operator' => '===',
[1815] Fix | Delete
'value' => 'collection',
[1816] Fix | Delete
],
[1817] Fix | Delete
],
[1818] Fix | Delete
]
[1819] Fix | Delete
[1820] Fix | Delete
]
[1821] Fix | Delete
);
[1822] Fix | Delete
[1823] Fix | Delete
[1824] Fix | Delete
$this->add_control(
[1825] Fix | Delete
'preset',
[1826] Fix | Delete
[
[1827] Fix | Delete
'label' => __('Preset', 'embedpress'),
[1828] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[1829] Fix | Delete
'label_block' => false,
[1830] Fix | Delete
'default' => 'ep-preset-1',
[1831] Fix | Delete
'options' => [
[1832] Fix | Delete
'ep-preset-1' => esc_html__('Preset 1', 'embedpress'),
[1833] Fix | Delete
'ep-preset-2' => esc_html__('Preset 2', 'embedpress'),
[1834] Fix | Delete
],
[1835] Fix | Delete
'conditions' => [
[1836] Fix | Delete
'terms' => [
[1837] Fix | Delete
[
[1838] Fix | Delete
'name' => 'embedpress_pro_embeded_nft_type',
[1839] Fix | Delete
'operator' => '===',
[1840] Fix | Delete
'value' => 'collection',
[1841] Fix | Delete
'relation' => 'and'
[1842] Fix | Delete
],
[1843] Fix | Delete
[
[1844] Fix | Delete
'name' => 'layout',
[1845] Fix | Delete
'operator' => '===',
[1846] Fix | Delete
'value' => 'ep-grid',
[1847] Fix | Delete
'relation' => 'and'
[1848] Fix | Delete
],
[1849] Fix | Delete
],
[1850] Fix | Delete
]
[1851] Fix | Delete
[1852] Fix | Delete
]
[1853] Fix | Delete
);
[1854] Fix | Delete
[1855] Fix | Delete
$this->add_control(
[1856] Fix | Delete
'nftperrow',
[1857] Fix | Delete
[
[1858] Fix | Delete
'label' => __('Column', 'embedpress'),
[1859] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[1860] Fix | Delete
'label_block' => false,
[1861] Fix | Delete
'default' => '3',
[1862] Fix | Delete
'options' => [
[1863] Fix | Delete
'1' => esc_html__('1', 'embedpress'),
[1864] Fix | Delete
'2' => esc_html__('2', 'embedpress'),
[1865] Fix | Delete
'3' => esc_html__('3', 'embedpress'),
[1866] Fix | Delete
'4' => esc_html__('4', 'embedpress'),
[1867] Fix | Delete
'5' => esc_html__('5', 'embedpress'),
[1868] Fix | Delete
'6' => esc_html__('6', 'embedpress'),
[1869] Fix | Delete
'auto' => esc_html__('Auto', 'embedpress'),
[1870] Fix | Delete
],
[1871] Fix | Delete
'condition' => [
[1872] Fix | Delete
'embedpress_pro_embeded_nft_type' => ['collection']
[1873] Fix | Delete
],
[1874] Fix | Delete
[1875] Fix | Delete
]
[1876] Fix | Delete
);
[1877] Fix | Delete
[1878] Fix | Delete
$this->add_control(
[1879] Fix | Delete
'gapbetweenitem',
[1880] Fix | Delete
[
[1881] Fix | Delete
'label' => esc_html__('Gap Between Item', 'embedpress'),
[1882] Fix | Delete
'type' => \Elementor\Controls_Manager::SLIDER,
[1883] Fix | Delete
'size_units' => ['px'],
[1884] Fix | Delete
'range' => [
[1885] Fix | Delete
'px' => [
[1886] Fix | Delete
'min' => 1,
[1887] Fix | Delete
'max' => 100,
[1888] Fix | Delete
'step' => 1,
[1889] Fix | Delete
],
[1890] Fix | Delete
],
[1891] Fix | Delete
'default' => [
[1892] Fix | Delete
'unit' => 'px',
[1893] Fix | Delete
'size' => 15,
[1894] Fix | Delete
],
[1895] Fix | Delete
'condition' => [
[1896] Fix | Delete
'embedpress_pro_embeded_nft_type' => ['collection']
[1897] Fix | Delete
],
[1898] Fix | Delete
]
[1899] Fix | Delete
);
[1900] Fix | Delete
[1901] Fix | Delete
$this->add_control(
[1902] Fix | Delete
'collectionname',
[1903] Fix | Delete
[
[1904] Fix | Delete
'label' => __('Collection Name', 'embedpress'),
[1905] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1906] Fix | Delete
'label_block' => false,
[1907] Fix | Delete
'return_value' => 'yes',
[1908] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1909] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1910] Fix | Delete
'default' => 'yes',
[1911] Fix | Delete
'condition' => [
[1912] Fix | Delete
'embedpress_pro_embeded_nft_type' => 'single'
[1913] Fix | Delete
],
[1914] Fix | Delete
]
[1915] Fix | Delete
);
[1916] Fix | Delete
$this->add_control(
[1917] Fix | Delete
'nftimage',
[1918] Fix | Delete
[
[1919] Fix | Delete
'label' => __('Thumbnail', 'embedpress'),
[1920] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1921] Fix | Delete
'label_block' => false,
[1922] Fix | Delete
'return_value' => 'yes',
[1923] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1924] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1925] Fix | Delete
'default' => 'yes',
[1926] Fix | Delete
'condition' => $condition,
[1927] Fix | Delete
]
[1928] Fix | Delete
);
[1929] Fix | Delete
$this->add_control(
[1930] Fix | Delete
'nfttitle',
[1931] Fix | Delete
[
[1932] Fix | Delete
'label' => __('Title', 'embedpress'),
[1933] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1934] Fix | Delete
'label_block' => false,
[1935] Fix | Delete
'return_value' => 'yes',
[1936] Fix | Delete
'default' => '',
[1937] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1938] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1939] Fix | Delete
'default' => 'yes',
[1940] Fix | Delete
'condition' => $condition,
[1941] Fix | Delete
]
[1942] Fix | Delete
);
[1943] Fix | Delete
$this->add_control(
[1944] Fix | Delete
'nftcreator',
[1945] Fix | Delete
[
[1946] Fix | Delete
'label' => __('Creator', 'embedpress'),
[1947] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1948] Fix | Delete
'label_block' => false,
[1949] Fix | Delete
'return_value' => 'yes',
[1950] Fix | Delete
'default' => '',
[1951] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1952] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1953] Fix | Delete
'default' => 'yes',
[1954] Fix | Delete
'condition' => $condition,
[1955] Fix | Delete
]
[1956] Fix | Delete
);
[1957] Fix | Delete
[1958] Fix | Delete
$this->add_control(
[1959] Fix | Delete
'prefix_nftcreator',
[1960] Fix | Delete
[
[1961] Fix | Delete
'label' => sprintf(__('Prefix %s', 'embedpress'), $this->pro_text),
[1962] Fix | Delete
'type' => \Elementor\Controls_Manager::TEXT,
[1963] Fix | Delete
'default' => esc_html__('Created By', 'embedpress'),
[1964] Fix | Delete
'placeholder' => esc_html__('Created By', 'embedpress'),
[1965] Fix | Delete
'classes' => $this->pro_class,
[1966] Fix | Delete
'condition' => [
[1967] Fix | Delete
'nftcreator' => 'yes',
[1968] Fix | Delete
]
[1969] Fix | Delete
]
[1970] Fix | Delete
);
[1971] Fix | Delete
[1972] Fix | Delete
$this->add_control(
[1973] Fix | Delete
'nftprice',
[1974] Fix | Delete
[
[1975] Fix | Delete
'label' => __('Current Price', 'embedpress'),
[1976] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1977] Fix | Delete
'label_block' => false,
[1978] Fix | Delete
'return_value' => 'yes',
[1979] Fix | Delete
'default' => '',
[1980] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1981] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1982] Fix | Delete
'default' => 'yes',
[1983] Fix | Delete
'condition' => $condition,
[1984] Fix | Delete
]
[1985] Fix | Delete
);
[1986] Fix | Delete
[1987] Fix | Delete
$this->add_control(
[1988] Fix | Delete
'prefix_nftprice',
[1989] Fix | Delete
[
[1990] Fix | Delete
'label' => sprintf(__('Prefix %s', 'embedpress'), $this->pro_text),
[1991] Fix | Delete
'type' => \Elementor\Controls_Manager::TEXT,
[1992] Fix | Delete
'default' => esc_html__('Current Price', 'embedpress'),
[1993] Fix | Delete
'placeholder' => esc_html__('Current Price', 'embedpress'),
[1994] Fix | Delete
'classes' => $this->pro_class,
[1995] Fix | Delete
'condition' => [
[1996] Fix | Delete
'nftprice' => 'yes',
[1997] Fix | Delete
]
[1998] Fix | Delete
]
[1999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function