Filters

rtmedia_urls_preview_not_allow

Description


Filter for modifying the URLs which are not allowed to be previewed.

add_filter( 'rtmedia_urls_preview_not_allow','rtmedia_change_urls_preview_not_allow' );

/**
* Function for not allowing shared URLs preview for rtmedia_urls_preview_not_allow filter
*/
function rtmedia_change_urls_preview_not_allow () {
    return array( 
        'facebook.com',
    );
}