Astra_Ext_Blog_Pro_Markup::auto_prev_post_wp_bakery_compatibility()

Added shortcode rendering compatibility for WP Bakery plugin.


Description

WP Bakery plugin shortcodes were not rendering when auto prev post option was enable.


Return

(void)


Source

File: addons/blog-pro/classes/class-astra-ext-blog-pro-markup.php

		public function auto_prev_post_wp_bakery_compatibility() {
			// Make sure all vc shortcodes are loaded (needed for ajax previous post pagination).
			if ( is_callable( 'WPBMap::addAllMappedShortcodes' ) ) {
				WPBMap::addAllMappedShortcodes();
			}
		}

User Contributed Notes

You must log in before being able to contribute a note or feedback.