1. Go to this page and download the library: Download meom/meom-dodo library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
meom / meom-dodo example snippets
/**
* Determine which embeds are allowed.
* By default only youtube is allowed, defined in MEOM Dodo plugin.
*
* @param array $allowed_embeds List of allowed embeds.
* @return array $allowed_embeds Modified array of allowed embeds.
*/
function prefix_gutenberg_allowed_embeds( $allowed_embeds ) {
$allowed_embeds = [
'youtube',
'vimeo',
];
return $allowed_embeds;
}
add_filter( 'meom_dodo_allowed_embed_variants','prefix_gutenberg_allowed_embeds' );