Leveraging AI to Supercharge Your WordPress Business Website
In today’s competitive digital landscape, every business website needs an edge to...
30.Sep.2021 | Code Snippets, Wordpress
To allow the editor user role to have full access to Gravity Forms, simply add this code to your functions.php file.
function gf_editor()
{
$role = get_role( 'editor' );
$role->add_cap( 'gform_full_access' );
}
add_action( 'admin_init', 'gf_editor' );PHP, Wordpress, Wordpress Function, WordPress Tips
Share

In today’s competitive digital landscape, every business website needs an edge to...

WordPress has come a long way since its humble beginnings in 2003....

In the ever-evolving landscape of website development, staying ahead of the curve...
A quick snipped of code filter parameters into YouTube oEmbed requests. Handy to remove suggested videos, YouTube contols and info....
This is the best method I found for completely removing the comments from WordPress. This combination of functions will remove...
Add this code to your functions.php file to add the dimensions to the image object array for svgs. add_filter( 'wp_get_attachment_image_src',...