The Definitive Guide to Setting Up WordPress in 2024: A Bristol Freelance Web Developer’s Essential Setup
In the ever-evolving landscape of website development, staying ahead of the curve...
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 the ever-evolving landscape of website development, staying ahead of the curve...
In the digital realm, your website serves as the cornerstone of your...
In the ever-evolving world of e-commerce, having a robust and flexible platform...
A quick way to manually disable the WordPress emojicons code without needing a plugin. Pop this in your functions.php file:...
To stop any page from being deleted by any user role, including admins, add the following code to your functions.php...
You can use the following method in php to create a conditional that checks if a url has http or...