| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/WPCAFE/wp-content/plugins/jetpack/modules/shortcodes/ |
Upload File : |
<?php
/**
* Carto (formerly CartoDB)
*
* Example URL: http://osm2.carto.com/viz/08aef918-94da-11e4-ad83-0e0c41326911/public_map
*
* possible patterns:
* [username].carto.com/viz/[map-id]/public_map
* [username].carto.com/viz/[map-id]/embed_map
* [username].carto.com/viz/[map-id]/map
* [organization].carto.com/u/[username]/viz/[map-id]/public_map
* [organization].carto.com/u/[username]/viz/[map-id]/embed_map
* [organization].carto.com/u/[username]/viz/[map-id]/map
*
* On July 8th, 2016 CartoDB changed its primary domain from cartodb.com to carto.com
* So this shortcode still supports the cartodb.com domain for oembeds.
*
* @package automattic/jetpack
*/
if ( ! defined( 'ABSPATH' ) ) {
exit( 0 );
}
wp_oembed_add_provider( '#https?://(?:www\.)?[^/^\.]+\.carto(db)?\.com/\S+#i', 'https://services.carto.com/oembed', true );