Forked from nuriye/WP Bakery Visual Composer: get Post ID in Shortcode in Grid Builder
Created
April 19, 2021 11:38
-
-
Save bipoza/26df62e4686cbe4b0008273650a113b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_shortcode('wps_event_link', 'wps_event_link'); | |
function wps_event_link() { | |
$post_id = '{{ post_data:ID }}'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment