• Home
  • Computer
    • MS Word
    • MS Excel
    • MS Powerpnt
    • MS Access
    • Photoshop
    • Corel Draw
    • Internet
  • School
    • Prog & IT (Commerce)
  • Programming
    • C++
    • HTML & CSS
    • JS
    • PHP
    • Codeigniter
    • WordPress
    • Shopify
    • React JS
  • Online Exams
    • Efficiency Test
Logo
  1. get custom post by acf custom field value
  2. How to add scripts after scroll
  3. How to create a custom elementor widget
  4. Increase or manage JWT Token Expiration time in wordpress
Monday, October 2, 2023
  • Home
  • Computer
  • School
  • Programming
  • Online Exams
Login/Register
Logo
  • Home
  • Computer
    • MS Word
    • MS Excel
    • MS Powerpnt
    • MS Access
    • Photoshop
    • Corel Draw
    • Internet
  • School
    • Prog & IT (Commerce)
  • Programming
    • C++
    • HTML & CSS
    • JS
    • PHP
    • Codeigniter
    • WordPress
    • Shopify
    • React JS
  • Online Exams
    • Efficiency Test
Logo
  • Home
  • Computer
    • MS Word
    • MS Excel
    • MS Powerpnt
    • MS Access
    • Photoshop
    • Corel Draw
    • Internet
  • School
    • Prog & IT (Commerce)
  • Programming
    • C++
    • HTML & CSS
    • JS
    • PHP
    • Codeigniter
    • WordPress
    • Shopify
    • React JS
  • Online Exams
    • Efficiency Test
  1. get custom post by acf custom field value
  2. How to add scripts after scroll
  3. How to create a custom elementor widget
  4. Increase or manage JWT Token Expiration time in wordpress

add and remove permission/ add user capability to access specific plugin or data by user role

July 22, 2020
|
No Comments
|
Wordpress

copy or paste the below code into functions.php file

  add_action( 'init', 'user_role_permision');
    function user_role_permision() {
     
        $role = get_role('dc_vendor');
       //$role->add_cap("import");
      // $role->remove_cap("manage_woocommerce");
    }
Previous Post create pdf file of any html page or html code using php
Next Post Add custom tabs on product page in shopify shopify custom tabs

0 Comments

Leave a Comment Cancel reply

FOLLOW US

FACEBOOK

TWITTER

GOOGLE PLUS

PINTEREST

FLICKR

INSTAGRAM

Popular Posts

Increase or manage JWT Token Expiration time in wordpress

Increase or manage JWT Token Expiration time in wordpress

Wordpress
June 13, 2021

Set php variable value in localstorage & get localstorage value into into a php variable?

PHP
September 18, 2019
How to remove google fonts from WordPress theme (X & Pro themes)

How to remove google fonts from WordPress theme (X & Pro themes)

Wordpress
August 5, 2018

Advertisement

Archivies

  • September 2023 (1)
  • August 2023 (8)
  • July 2023 (1)
  • July 2022 (1)
  • June 2021 (4)
  • May 2021 (2)
  • February 2021 (2)
  • July 2020 (1)
  • June 2020 (1)
  • March 2020 (1)
  • February 2020 (5)
  • October 2019 (1)
  • September 2019 (6)
  • September 2018 (2)
  • August 2018 (4)
  • July 2018 (4)

RECENTPOPULARTAG

RECENT POSTS

get custom post by acf custom field value

get custom post by acf custom field value

Wordpress
July 30, 2022
How to add scripts after scroll

How to add scripts after scroll

JS
June 27, 2021
How to create a custom elementor widget

How to create a custom elementor widget

PHP
June 27, 2021

On kkduniya Blog, You get all kinds of information such as Computer Information, School Course, Programming, Online Exams etc.

Address

Jhotwara, Jaipur
kkduniya@gmail.com
+91 9782137083
+91 9782137083

RECENT POSTS

How to fix ajax url not defined error in wordpress

How to fix ajax url not defined error in wordpress

February 8, 2020
get custom post by acf custom field value

get custom post by acf custom field value

July 30, 2022
How to add scripts after scroll

How to add scripts after scroll

June 27, 2021
How to add pagination in wordpress

How to add pagination in wordpress

July 14, 2018

Instagram

Created by kkduniya 2018. All Rights Reserved

Login access is disabled

Don't have an account? Sign Up Already have an account? Login