ALM oEmbed Settings
This is the settings page for the ALM oEmbed plugin. This plugin whitelists an additional oEmbed service beyond those included by default.
Whitelist the following oEmbed service:
"",
"body" => $htmlcode);
} else {
$response = wp_remote_get($example);
$message = wp_remote_retrieve_response_message($response);
$body = wp_remote_retrieve_body($response);
return array (
"status" => "Error: " . ($message == "OK" ? "URL wrong format" : $message),
"body" => esc_attr($body));
}
}
// Add settings link to plugins screen
add_filter('plugin_action_links', 'oembed_action_links', 10, 2);
function oembed_action_links($links, $file) {
static $this_plugin;
if (!$this_plugin) {
$this_plugin = plugin_basename(__FILE__);
}
if ($file == $this_plugin) {
$settings_link = '