If you are a Gutenberg user and have played with reusable blocks (same concept as an Avada global library item), you will notice that as of 6.1, there is still no native way to access them from the admin menu. I recently ran across this code and am adding it here for future reference. This useful code snippet was shared by Bill Erickson.

function be_reusable_blocks_admin_menu() {
add_menu_page( 'Reusable Blocks', 'Reusable Blocks', 'edit_posts', 'edit.php?post_type=wp_block', '', 'dashicons-editor-table', 22 );
 }
add_action( 'admin_menu', 'be_reusable_blocks_admin_menu' );

Originally published on Nov. 5, 2022

share the article

Other Shorts