<?php | |
function test_get_beaver_builder_module_list() { | |
$bb_module_list = new KM_Beaver_Builder_Module_List(); | |
// Get a list of the BB modules on the current page. | |
$current_page_modules_list = $bb_module_list->get(); | |
// Get a list of the BB modules on the page with a post ID of '123'. | |
$page_123_modules_list = $bb_module_list->get( 123 ); | |
// Additional code. | |
} | |
add_action( 'wp', 'test_get_beaver_builder_module_list' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment