Skip to content

Instantly share code, notes, and snippets.

@2Fwebd
Last active February 3, 2019 16:55
Show Gist options
  • Save 2Fwebd/bc13086d22b89f592f6c79e52e9cd05a to your computer and use it in GitHub Desktop.
Save 2Fwebd/bc13086d22b89f592f6c79e52e9cd05a to your computer and use it in GitHub Desktop.
<?php
/**
* Register our [woffice_members_map] shortcode
*
* @return string
*/
public function shortcode()
{
return '<div id="woffice-members-map__wrapper">
<woffice-members-map :url="'. admin_url( 'admin-ajax.php' ) .'" :height="200"></woffice-members-map>
</div>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment