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
'type' => Controls_Manager::SWITCHER,
[1000] Fix | Delete
'label_block' => false,
[1001] Fix | Delete
'return_value' => 'yes',
[1002] Fix | Delete
'default' => 'no',
[1003] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1004] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1005] Fix | Delete
'condition' => [
[1006] Fix | Delete
'embedpress_pro_embeded_source' => 'dailymotion'
[1007] Fix | Delete
]
[1008] Fix | Delete
]
[1009] Fix | Delete
);
[1010] Fix | Delete
$this->add_control(
[1011] Fix | Delete
'embedpress_pro_dailymotion_play_on_mobile',
[1012] Fix | Delete
[
[1013] Fix | Delete
'label' => __('Play On Mobile', 'embedpress'),
[1014] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1015] Fix | Delete
'label_block' => false,
[1016] Fix | Delete
'return_value' => 'yes',
[1017] Fix | Delete
'default' => 'no',
[1018] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1019] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1020] Fix | Delete
'condition' => [
[1021] Fix | Delete
'embedpress_pro_embeded_source' => 'dailymotion',
[1022] Fix | Delete
'embedpress_pro_dailymotion_autoplay' => 'yes'
[1023] Fix | Delete
]
[1024] Fix | Delete
]
[1025] Fix | Delete
);
[1026] Fix | Delete
$this->add_control(
[1027] Fix | Delete
'embedpress_pro_dailymotion_mute',
[1028] Fix | Delete
[
[1029] Fix | Delete
'label' => __('Mute', 'embedpress'),
[1030] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1031] Fix | Delete
'label_block' => false,
[1032] Fix | Delete
'return_value' => 'yes',
[1033] Fix | Delete
'default' => 'no',
[1034] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1035] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1036] Fix | Delete
'condition' => [
[1037] Fix | Delete
'embedpress_pro_embeded_source' => 'dailymotion'
[1038] Fix | Delete
]
[1039] Fix | Delete
]
[1040] Fix | Delete
);
[1041] Fix | Delete
$this->add_control(
[1042] Fix | Delete
'embedpress_pro_dailymotion_player_control',
[1043] Fix | Delete
[
[1044] Fix | Delete
'label' => __('Player Controls', 'embedpress'),
[1045] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1046] Fix | Delete
'label_block' => false,
[1047] Fix | Delete
'return_value' => 'yes',
[1048] Fix | Delete
'default' => 'yes',
[1049] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1050] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1051] Fix | Delete
'condition' => [
[1052] Fix | Delete
'embedpress_pro_embeded_source' => 'dailymotion'
[1053] Fix | Delete
]
[1054] Fix | Delete
]
[1055] Fix | Delete
);
[1056] Fix | Delete
$this->add_control(
[1057] Fix | Delete
'embedpress_pro_dailymotion_video_info',
[1058] Fix | Delete
[
[1059] Fix | Delete
'label' => __('Video Info', 'embedpress'),
[1060] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1061] Fix | Delete
'label_block' => false,
[1062] Fix | Delete
'return_value' => 'yes',
[1063] Fix | Delete
'default' => 'yes',
[1064] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1065] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1066] Fix | Delete
'condition' => [
[1067] Fix | Delete
'embedpress_pro_embeded_source' => 'dailymotion'
[1068] Fix | Delete
]
[1069] Fix | Delete
]
[1070] Fix | Delete
);
[1071] Fix | Delete
$this->add_control(
[1072] Fix | Delete
'embedpress_pro_dailymotion_control_color',
[1073] Fix | Delete
[
[1074] Fix | Delete
'label' => __('Control Color', 'embedpress'),
[1075] Fix | Delete
'type' => Controls_Manager::COLOR,
[1076] Fix | Delete
'label_block' => false,
[1077] Fix | Delete
'default' => '#dd3333',
[1078] Fix | Delete
'condition' => [
[1079] Fix | Delete
'embedpress_pro_embeded_source' => 'dailymotion'
[1080] Fix | Delete
]
[1081] Fix | Delete
]
[1082] Fix | Delete
);
[1083] Fix | Delete
$this->init_branding_controls('dailymotion');
[1084] Fix | Delete
}
[1085] Fix | Delete
//End Dailymotion Controls
[1086] Fix | Delete
[1087] Fix | Delete
/**
[1088] Fix | Delete
* Wistia Controls
[1089] Fix | Delete
*/
[1090] Fix | Delete
public function init_wistia_controls()
[1091] Fix | Delete
{
[1092] Fix | Delete
$this->add_control(
[1093] Fix | Delete
'embedpress_pro_wistia_auto_play',
[1094] Fix | Delete
[
[1095] Fix | Delete
'label' => __('Auto Play', 'embedpress'),
[1096] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1097] Fix | Delete
'label_block' => false,
[1098] Fix | Delete
'return_value' => 'yes',
[1099] Fix | Delete
'default' => 'no',
[1100] Fix | Delete
'condition' => [
[1101] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1102] Fix | Delete
],
[1103] Fix | Delete
]
[1104] Fix | Delete
);
[1105] Fix | Delete
[1106] Fix | Delete
$this->add_control(
[1107] Fix | Delete
'embedpress_pro_wistia_color',
[1108] Fix | Delete
[
[1109] Fix | Delete
'label' => __('Scheme', 'embedpress'),
[1110] Fix | Delete
'type' => Controls_Manager::COLOR,
[1111] Fix | Delete
'label_block' => false,
[1112] Fix | Delete
'default' => '#dd3333',
[1113] Fix | Delete
'condition' => [
[1114] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1115] Fix | Delete
]
[1116] Fix | Delete
]
[1117] Fix | Delete
);
[1118] Fix | Delete
[1119] Fix | Delete
[1120] Fix | Delete
[1121] Fix | Delete
$this->add_control(
[1122] Fix | Delete
'embedpress_pro_wistia_captions_enabled_by_default',
[1123] Fix | Delete
[
[1124] Fix | Delete
'label' => __('Captions Enabled By Default', 'embedpress'),
[1125] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1126] Fix | Delete
'label_block' => false,
[1127] Fix | Delete
'return_value' => 'yes',
[1128] Fix | Delete
'default' => 'no',
[1129] Fix | Delete
'condition' => [
[1130] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia',
[1131] Fix | Delete
'embedpress_pro_wistia_captions' => 'yes'
[1132] Fix | Delete
],
[1133] Fix | Delete
'classes' => $this->pro_class,
[1134] Fix | Delete
]
[1135] Fix | Delete
);
[1136] Fix | Delete
[1137] Fix | Delete
$this->add_control(
[1138] Fix | Delete
'embedpress_pro_wistia_player_options',
[1139] Fix | Delete
[
[1140] Fix | Delete
'label' => __('Player Options', 'embedpress'),
[1141] Fix | Delete
'type' => Controls_Manager::HEADING,
[1142] Fix | Delete
'separator' => 'before',
[1143] Fix | Delete
'condition' => [
[1144] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1145] Fix | Delete
]
[1146] Fix | Delete
]
[1147] Fix | Delete
);
[1148] Fix | Delete
[1149] Fix | Delete
[1150] Fix | Delete
[1151] Fix | Delete
$this->add_control(
[1152] Fix | Delete
'embedpress_pro_wistia_fullscreen_button',
[1153] Fix | Delete
[
[1154] Fix | Delete
'label' => __('Fullscreen Button', 'embedpress'),
[1155] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1156] Fix | Delete
'label_block' => false,
[1157] Fix | Delete
'return_value' => 'yes',
[1158] Fix | Delete
'default' => 'no',
[1159] Fix | Delete
'condition' => [
[1160] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1161] Fix | Delete
],
[1162] Fix | Delete
]
[1163] Fix | Delete
);
[1164] Fix | Delete
[1165] Fix | Delete
$this->add_control(
[1166] Fix | Delete
'embedpress_pro_wistia_small_play_button',
[1167] Fix | Delete
[
[1168] Fix | Delete
'label' => __('Small Play Button', 'embedpress'),
[1169] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1170] Fix | Delete
'label_block' => false,
[1171] Fix | Delete
'return_value' => 'yes',
[1172] Fix | Delete
'default' => 'no',
[1173] Fix | Delete
'condition' => [
[1174] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1175] Fix | Delete
],
[1176] Fix | Delete
]
[1177] Fix | Delete
);
[1178] Fix | Delete
[1179] Fix | Delete
[1180] Fix | Delete
[1181] Fix | Delete
[1182] Fix | Delete
$this->add_control(
[1183] Fix | Delete
'embedpress_pro_wistia_resumable',
[1184] Fix | Delete
[
[1185] Fix | Delete
'label' => __('Resumable', 'embedpress'),
[1186] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1187] Fix | Delete
'label_block' => false,
[1188] Fix | Delete
'return_value' => 'yes',
[1189] Fix | Delete
'default' => 'no',
[1190] Fix | Delete
'condition' => [
[1191] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1192] Fix | Delete
],
[1193] Fix | Delete
]
[1194] Fix | Delete
);
[1195] Fix | Delete
[1196] Fix | Delete
[1197] Fix | Delete
$this->add_control(
[1198] Fix | Delete
'embedpress_pro_wistia_focus',
[1199] Fix | Delete
[
[1200] Fix | Delete
'label' => __('Focus', 'embedpress'),
[1201] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1202] Fix | Delete
'label_block' => false,
[1203] Fix | Delete
'return_value' => 'yes',
[1204] Fix | Delete
'default' => 'no',
[1205] Fix | Delete
'condition' => [
[1206] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1207] Fix | Delete
],
[1208] Fix | Delete
]
[1209] Fix | Delete
);
[1210] Fix | Delete
[1211] Fix | Delete
// --- Wistia PRO Controls --
[1212] Fix | Delete
$this->add_control(
[1213] Fix | Delete
'embedpress_pro_wistia_captions',
[1214] Fix | Delete
[
[1215] Fix | Delete
'label' => sprintf(__('Closed Captions %s', 'embedpress'), $this->pro_text),
[1216] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1217] Fix | Delete
'label_block' => false,
[1218] Fix | Delete
'return_value' => 'yes',
[1219] Fix | Delete
'default' => 'no',
[1220] Fix | Delete
'condition' => [
[1221] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1222] Fix | Delete
],
[1223] Fix | Delete
'classes' => $this->pro_class,
[1224] Fix | Delete
]
[1225] Fix | Delete
);
[1226] Fix | Delete
$this->add_control(
[1227] Fix | Delete
'embedpress_pro_wistia_playbar',
[1228] Fix | Delete
[
[1229] Fix | Delete
'label' => __('Playbar ', 'embedpress'),
[1230] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1231] Fix | Delete
'label_block' => false,
[1232] Fix | Delete
'return_value' => 'yes',
[1233] Fix | Delete
'default' => 'no',
[1234] Fix | Delete
'condition' => [
[1235] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1236] Fix | Delete
],
[1237] Fix | Delete
]
[1238] Fix | Delete
);
[1239] Fix | Delete
[1240] Fix | Delete
$this->add_control(
[1241] Fix | Delete
'embedpress_pro_wistia_volume_control',
[1242] Fix | Delete
[
[1243] Fix | Delete
'label' => sprintf(__('Volume Control %s', 'embedpress'), $this->pro_text),
[1244] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1245] Fix | Delete
'label_block' => false,
[1246] Fix | Delete
'return_value' => 'yes',
[1247] Fix | Delete
'default' => 'yes',
[1248] Fix | Delete
'condition' => [
[1249] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1250] Fix | Delete
],
[1251] Fix | Delete
'classes' => $this->pro_class,
[1252] Fix | Delete
]
[1253] Fix | Delete
);
[1254] Fix | Delete
[1255] Fix | Delete
[1256] Fix | Delete
$this->add_control(
[1257] Fix | Delete
'embedpress_pro_wistia_volume',
[1258] Fix | Delete
[
[1259] Fix | Delete
'label' => sprintf(__('Volume %s', 'embedpress'), $this->pro_text),
[1260] Fix | Delete
'type' => Controls_Manager::SLIDER,
[1261] Fix | Delete
'default' => [
[1262] Fix | Delete
'size' => 100,
[1263] Fix | Delete
],
[1264] Fix | Delete
'range' => [
[1265] Fix | Delete
'px' => [
[1266] Fix | Delete
'min' => 0,
[1267] Fix | Delete
'max' => 100,
[1268] Fix | Delete
]
[1269] Fix | Delete
],
[1270] Fix | Delete
'condition' => [
[1271] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia',
[1272] Fix | Delete
'embedpress_pro_wistia_volume_control' => 'yes'
[1273] Fix | Delete
],
[1274] Fix | Delete
'classes' => $this->pro_class,
[1275] Fix | Delete
]
[1276] Fix | Delete
);
[1277] Fix | Delete
[1278] Fix | Delete
$this->add_control(
[1279] Fix | Delete
'embedpress_pro_wistia_rewind',
[1280] Fix | Delete
[
[1281] Fix | Delete
'label' => __('Rewind', 'embedpress'),
[1282] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1283] Fix | Delete
'label_block' => false,
[1284] Fix | Delete
'return_value' => 'yes',
[1285] Fix | Delete
'default' => 'no',
[1286] Fix | Delete
'condition' => [
[1287] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1288] Fix | Delete
],
[1289] Fix | Delete
]
[1290] Fix | Delete
);
[1291] Fix | Delete
[1292] Fix | Delete
$this->add_control(
[1293] Fix | Delete
'embedpress_pro_wistia_rewind_time',
[1294] Fix | Delete
[
[1295] Fix | Delete
'label' => __('Rewind time', 'embedpress'),
[1296] Fix | Delete
'type' => Controls_Manager::SLIDER,
[1297] Fix | Delete
'default' => [
[1298] Fix | Delete
'size' => 10,
[1299] Fix | Delete
],
[1300] Fix | Delete
'range' => [
[1301] Fix | Delete
'px' => [
[1302] Fix | Delete
'min' => 1,
[1303] Fix | Delete
'max' => 100,
[1304] Fix | Delete
]
[1305] Fix | Delete
],
[1306] Fix | Delete
'condition' => [
[1307] Fix | Delete
'embedpress_pro_wistia_rewind' => 'yes',
[1308] Fix | Delete
'embedpress_pro_embeded_source' => 'wistia'
[1309] Fix | Delete
],
[1310] Fix | Delete
]
[1311] Fix | Delete
);
[1312] Fix | Delete
$this->init_branding_controls('wistia');
[1313] Fix | Delete
}
[1314] Fix | Delete
//End Wistia controls
[1315] Fix | Delete
[1316] Fix | Delete
[1317] Fix | Delete
[1318] Fix | Delete
/**
[1319] Fix | Delete
* Twitch Controls
[1320] Fix | Delete
*/
[1321] Fix | Delete
public function init_twitch_control()
[1322] Fix | Delete
{
[1323] Fix | Delete
$condition = [
[1324] Fix | Delete
'embedpress_pro_embeded_source' => 'twitch'
[1325] Fix | Delete
];
[1326] Fix | Delete
$this->add_control(
[1327] Fix | Delete
'embedpress_pro_twitch_autoplay',
[1328] Fix | Delete
[
[1329] Fix | Delete
'label' => __('Autoplay', 'embedpress'),
[1330] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1331] Fix | Delete
'label_off' => __('No', 'embedpress'),
[1332] Fix | Delete
'label_on' => __('Yes', 'embedpress'),
[1333] Fix | Delete
'default' => 'yes',
[1334] Fix | Delete
'condition' => $condition,
[1335] Fix | Delete
]
[1336] Fix | Delete
);
[1337] Fix | Delete
$this->add_control(
[1338] Fix | Delete
'embedpress_pro_fs',
[1339] Fix | Delete
[
[1340] Fix | Delete
'label' => __('Allow Full Screen Video', 'embedpress'),
[1341] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1342] Fix | Delete
'label_off' => __('No', 'embedpress'),
[1343] Fix | Delete
'label_on' => __('Yes', 'embedpress'),
[1344] Fix | Delete
'default' => 'yes',
[1345] Fix | Delete
'condition' => $condition,
[1346] Fix | Delete
]
[1347] Fix | Delete
);
[1348] Fix | Delete
[1349] Fix | Delete
// -- Twitch PRO controls --
[1350] Fix | Delete
$this->add_control(
[1351] Fix | Delete
'embedpress_pro_twitch_chat',
[1352] Fix | Delete
[
[1353] Fix | Delete
'label' => sprintf(__('Show Chat %s', 'embedpress'), $this->pro_text),
[1354] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1355] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1356] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1357] Fix | Delete
'condition' => $condition,
[1358] Fix | Delete
'classes' => $this->pro_class,
[1359] Fix | Delete
[1360] Fix | Delete
]
[1361] Fix | Delete
);
[1362] Fix | Delete
$this->add_control(
[1363] Fix | Delete
'embedpress_pro_twitch_mute',
[1364] Fix | Delete
[
[1365] Fix | Delete
'label' => __('Mute on start', 'embedpress'),
[1366] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1367] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1368] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1369] Fix | Delete
'condition' => $condition,
[1370] Fix | Delete
]
[1371] Fix | Delete
);
[1372] Fix | Delete
$this->add_control(
[1373] Fix | Delete
'embedpress_pro_twitch_theme',
[1374] Fix | Delete
[
[1375] Fix | Delete
'label' => __('Theme', 'embedpress'),
[1376] Fix | Delete
'type' => Controls_Manager::SELECT,
[1377] Fix | Delete
'default' => 'dark',
[1378] Fix | Delete
'options' => [
[1379] Fix | Delete
'dark' => __('Dark', 'embedpress'),
[1380] Fix | Delete
'light' => __('Light', 'embedpress'),
[1381] Fix | Delete
],
[1382] Fix | Delete
'condition' => $condition,
[1383] Fix | Delete
]
[1384] Fix | Delete
);
[1385] Fix | Delete
[1386] Fix | Delete
$this->init_branding_controls('twitch');
[1387] Fix | Delete
}
[1388] Fix | Delete
//End Twitch controls
[1389] Fix | Delete
[1390] Fix | Delete
[1391] Fix | Delete
/**
[1392] Fix | Delete
* SoundCloud Controls
[1393] Fix | Delete
*/
[1394] Fix | Delete
public function init_soundcloud_controls()
[1395] Fix | Delete
{
[1396] Fix | Delete
$this->add_control(
[1397] Fix | Delete
'embedpress_pro_soundcloud_visual',
[1398] Fix | Delete
[
[1399] Fix | Delete
'label' => __('Visual Player', 'embedpress'),
[1400] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1401] Fix | Delete
'label_block' => false,
[1402] Fix | Delete
'return_value' => 'yes',
[1403] Fix | Delete
'default' => 'no',
[1404] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1405] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1406] Fix | Delete
'condition' => [
[1407] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1408] Fix | Delete
],
[1409] Fix | Delete
]
[1410] Fix | Delete
);
[1411] Fix | Delete
[1412] Fix | Delete
$this->add_control(
[1413] Fix | Delete
'embedpress_pro_soundcloud_color',
[1414] Fix | Delete
[
[1415] Fix | Delete
'label' => __('Scheme', 'embedpress'),
[1416] Fix | Delete
'type' => Controls_Manager::COLOR,
[1417] Fix | Delete
'label_block' => false,
[1418] Fix | Delete
'default' => '#FF5500',
[1419] Fix | Delete
'condition' => [
[1420] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1421] Fix | Delete
]
[1422] Fix | Delete
]
[1423] Fix | Delete
);
[1424] Fix | Delete
[1425] Fix | Delete
$this->add_control(
[1426] Fix | Delete
'embedpress_pro_soundcloud_autoplay',
[1427] Fix | Delete
[
[1428] Fix | Delete
'label' => __('Auto Play', 'embedpress'),
[1429] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1430] Fix | Delete
'label_block' => false,
[1431] Fix | Delete
'return_value' => 'yes',
[1432] Fix | Delete
'default' => 'no',
[1433] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1434] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1435] Fix | Delete
'condition' => [
[1436] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1437] Fix | Delete
],
[1438] Fix | Delete
]
[1439] Fix | Delete
);
[1440] Fix | Delete
[1441] Fix | Delete
[1442] Fix | Delete
[1443] Fix | Delete
$this->add_control(
[1444] Fix | Delete
'embedpress_pro_soundcloud_share_button',
[1445] Fix | Delete
[
[1446] Fix | Delete
'label' => __('Share Button', 'embedpress'),
[1447] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1448] Fix | Delete
'label_block' => false,
[1449] Fix | Delete
'return_value' => 'yes',
[1450] Fix | Delete
'default' => 'yes',
[1451] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1452] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1453] Fix | Delete
'condition' => [
[1454] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1455] Fix | Delete
],
[1456] Fix | Delete
]
[1457] Fix | Delete
);
[1458] Fix | Delete
[1459] Fix | Delete
$this->add_control(
[1460] Fix | Delete
'embedpress_pro_soundcloud_comments',
[1461] Fix | Delete
[
[1462] Fix | Delete
'label' => __('Comments', 'embedpress'),
[1463] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1464] Fix | Delete
'label_block' => false,
[1465] Fix | Delete
'return_value' => 'yes',
[1466] Fix | Delete
'default' => 'yes',
[1467] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1468] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1469] Fix | Delete
'condition' => [
[1470] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud'
[1471] Fix | Delete
],
[1472] Fix | Delete
]
[1473] Fix | Delete
);
[1474] Fix | Delete
[1475] Fix | Delete
[1476] Fix | Delete
[1477] Fix | Delete
$this->add_control(
[1478] Fix | Delete
'embedpress_pro_soundcloud_artwork',
[1479] Fix | Delete
[
[1480] Fix | Delete
'label' => __('Artwork', 'embedpress'),
[1481] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1482] Fix | Delete
'label_block' => false,
[1483] Fix | Delete
'return_value' => 'yes',
[1484] Fix | Delete
'default' => 'yes',
[1485] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[1486] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[1487] Fix | Delete
'condition' => [
[1488] Fix | Delete
'embedpress_pro_embeded_source' => 'soundcloud',
[1489] Fix | Delete
'embedpress_pro_soundcloud_visual!' => 'yes'
[1490] Fix | Delete
]
[1491] Fix | Delete
]
[1492] Fix | Delete
);
[1493] Fix | Delete
[1494] Fix | Delete
$this->add_control(
[1495] Fix | Delete
'embedpress_pro_soundcloud_play_count',
[1496] Fix | Delete
[
[1497] Fix | Delete
'label' => __('Play Count', 'embedpress'),
[1498] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[1499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function