Call Beaver Builder layouts and templates from PHP – WordPress

Load Beaver Builder layouts and templates from PHP.

Load Beaver Builder layouts, templates and rows from PHP and render the content from specific post.

 

Get user roles of current logged in user – WordPress

How to check if a user is in a specific role in WordPress?

To get user roles of currently logged in user and match it against a specific user role.