Short answer but I think it is all you need.
do_shortcode("[book id='1' /]");
Reference:
Related Posts:
- How to include code only on specific pages?
- Enqueue style inside shortcode but its loaded at the bottom of page (before footer scripts)
- Best place for short bio,image and button [closed]
- Deactivate JS Script in Plugin Shortcode
- Passing a parameter to filter and action functions
- Get a list of all registered actions
- Preventing a plugin from updating
- Customizing subject in comment notification e-mails
- All shortcodes not working on custom theme
- enqueue script only if it is not already enqueue
- Shortcode output appears before post body [duplicate]
- WP showing “warning: call_user_func_array()”, What to do?
- How to parse nested shortcodes?
- How to call shortcode function directly and pass $atts
- Which hook should be used to validate custom form fields on the login form?
- Hook (upgrader_process_complete) running moment
- change plugin shortcode function [closed]
- Dynamic HTML not displaying at respective place
- Adding dynamic section to WordPress
- why does the add_action(‘the_content’) overwrite my page
- Fatal error: Class not found in
- woocommerce product attributes
- How to filter content post only on save
- Filter or action hook to insert content on admin pages before tag
- Short code for Venues
- plugin_action_links_{$plugin_file} hook not in the main plugin file
- merging an array to an existing array using add_filter
- template_redirect not being called when using ajax
- Hook before & after plugin / core update
- Plugin custom Action Hook not working
- Shortcode doesn’t work if I directly paste its function in a template file?
- get_plugins() doesn’t work after plugins_loaded
- Hook to generate a dynamic sitemap with “All in One SEO Pack” Plugin
- add_action in functions.php, do_action in plugin?
- How to correctly detect accessing wp-content/uploads?
- Pass variable to nested shortcode
- Plugin activation hook in an abstract class
- How to generate CSS from a shortcode within a plugin
- How to remove html code in excel downloads using phpspreadsheet with wordpress plugins shortcode
- Plugin Handle URL With Custom Theme
- How to put JQuery/Ajax inside shortcode?
- Snippets: is it better to add them in functions.php or make site-specific plugins?
- Can someone please tell me what is wrong with my plugin?
- Trouble with editing template for “List category posts” plugin
- WordPress function not being called from jQuery method
- Using a post-signup hook to get user details
- Trigger Elementor Popup via code [closed]
- Making sure that a plugin’s scripts and stylesheets are included for dynamicaly loaded content
- Filtering WooCommerce Orders by Category
- Use $_GET inside a shortcode print empty Array
- Add sub menu page in your plugin
- Render Modula Plugin Shortcode On Ajax Request
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Shortcode not working after move wordpress website files
- Shortcode not getting replaced
- convert more tag to shortcode
- Plugin that provides the [edit] shortcode?
- Adding Plugin Assets to Header
- Return multiple values in a shortcode attribute
- What are admin hooks
- How to change shortcode’s default theme?
- Is there a way to convert shortcodes to html content?
- How to use filter to disable adding a product to wishlist?
- WordPress: Add custom add_filter for custom functions
- Loop returns the current page’s permalink and guid instead of the post in the loop
- Function added to hook “new_to_publish” not executing – custom plugin
- How can I achieve this, using shortcodes
- Elementor Pro display featured image on section -> style -> image using shortcode
- Use a hook or filter, or overwrite this Gamipress function?
- Hook from plugin doesn’t fire up from external PHP script
- Is there a hook similar to “save_post” which only fires AFTER the post is completely published?
- Randomize post (and page) IDs on generation
- save_post hook partly firing in update post
- Shortcode show error while editing post
- Get Shortcode output to database for static post_content
- Show post object of any page in frontend
- Issue Saving Posts That Contain Shortcode
- Using Shortcode Result In Custom HTML Block (Using Google Sheet JQuery Result As NumScroller data-max)
- Use action, filter, or hook to append HTML to WordPress plugin function
- Passing function into add_action always returns the first argument
- How to use plugin’s shortcode in custom design? [closed]
- Hook to display element as product on category page
- Is it possible to disable a theme programmatically?
- WP Plugin CSS not being applied to page
- How to add HTML to a template only when user is logged out/ not registered
- plugin not hooking to my custom hook
- Multiple calling javascript from shortcode in one page
- wp_login_form() ignoring login_form action hook
- Find all strings between an enclosing shortcode
- Modify a plugin’s content
- Is there a function to search for a wildcard value when calling a shortcode?
- Multiple level shortcodes
- Plugin hook breaks new WP 4.0 media library grid view?
- How to load a plugin when doing an Ajax call? [duplicate]
- Is it right way to create shortcode?
- Trying to override/intercept a PhotoMosaic gallery link in WordPress using jQuery
- Variable scope in plugin outside loop [closed]
- Creating Features List in WordPress Post
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- I am experiencing difficulty fulfilling client request