Remove Items from Wordpress Dashboard Sidebar - Code Snippets -CodeSnippets

Поделиться
HTML-код
  • Опубликовано: 12 май 2023
  • Join our 'How to Start a Web Design Business' Course - and use strategies to grow, get clients, and generate recurring income: websquadron.co.uk/how-to-star...
    Book your 1-2-1 Consultation: websquadron.co.uk/socials
    Code: www.codesnippets.cloud/snippe...
    We love to create - share - respond - and deliver.
    🧐 Learn with our Mastery Modules: websquadron.co.uk/web-design-...
    🔗 All of our Important Links: websquadron.co.uk/socials/
    😃 Join our Facebook Group: / 3309523509284305
    😃 Get Code Snippets Pro: r.freemius.com/10565/3304295/
    😃 Get Elementor Pro: be.elementor.com/visit/?bta=2...
    😃 Boost your RUclips Analysis: www.tubebuddy.com/websquadron
    👕 Get our Merchandise: websquadron.co.uk/merchandise
    🥹 Support us: paypal.me/Websquadron
    Hire us to work on your Website!
    💌 info@websquadron.co.uk
    👩‍💻 Visit websquadron.co.uk
  • ХоббиХобби

Комментарии • 38

  • @wgm247
    @wgm247 Год назад +1

    Your channel is in my top 3 channels for web related content. Love the short and longer form content. If nobody has said it, well done on everything, I appreciate the value you give, and wish you every success.

  • @visualmediafx
    @visualmediafx Год назад +3

    Perfect for "them" clients. Just saying ya know.👍

    • @websquadron
      @websquadron  Год назад

      Yup and it’s a relatively safe way to do it.

  • @visualmodo
    @visualmodo Год назад +1

    Excellent video!

  • @mehdimoradi603
    @mehdimoradi603 Год назад +1

    Thank you so useful

  • @SamWereb
    @SamWereb Год назад

    Love this.

  • @satanishangover
    @satanishangover Год назад

    Very nice!

  • @365vacay
    @365vacay 2 месяца назад

    This is great for removing the standard Wordpress items, but how can we remove other items that appear from plugins that we have installed. BTW... awesome service. Love It!

    • @websquadron
      @websquadron  2 месяца назад

      More tricky as you have to know their ids.

    • @365vacay
      @365vacay 2 месяца назад

      @@websquadron I have the IDs. Suggestions?

    • @365vacay
      @365vacay 2 месяца назад

      I have their IDs. Can you help?@@websquadron

  • @hamzaafridi7058
    @hamzaafridi7058 Год назад

    Great! Any ideas on how to find the id's of any new items that comes with plugins or any themes etc?

    • @websquadron
      @websquadron  Год назад

      I’m trying to get the low down on that

    • @hamzaafridi7058
      @hamzaafridi7058 Год назад

      @@websquadron Thank You. Love your short Tips Videos❤

  • @KurtBunch619
    @KurtBunch619 Год назад

    This is just what I was looking for. Question, how can you also hide custom ACF post types?

    • @websquadron
      @websquadron  Год назад

      I’ll have to double check

    • @darren5087
      @darren5087 Год назад +2

      Assume your post type is case-study
      remove_menu_page('edit.php?post_type=case-study');
      I also set a check for certain users so put it in a block
      if (get_current_user_id() != 1) {
      remove_menu_page('edit.php?post_type=case-study');
      }

  • @malcomtawandalintonmusuma9617
    @malcomtawandalintonmusuma9617 Год назад

    Only until you hide the snippets item itself together with many more 😂

    • @websquadron
      @websquadron  Год назад

      Wait till you see tomorrow's video.....

  • @justindouglas3659
    @justindouglas3659 Год назад

    Does it work for just admin or for other wp roles like editor or author

  • @mazichriskc
    @mazichriskc Год назад

    This is really nice
    Can it be customised per user role?
    Imran you you're amazing

    • @larryjoeanderson
      @larryjoeanderson Год назад

      That's what I was wondering

    • @mazichriskc
      @mazichriskc Год назад

      @@larryjoeanderson if it does, it cuts out the need for an additional plugin to do just that.

    • @MCCraft1000
      @MCCraft1000 Год назад

      Try this, not tested!

    • @websquadron
      @websquadron  Год назад +1

      I’ll double check

    • @mazichriskc
      @mazichriskc Год назад

      @@websquadron Awesome 😁

  • @airostores2145
    @airostores2145 8 месяцев назад

    How do you use this snippets for certain user roles?

    • @websquadron
      @websquadron  8 месяцев назад

      You can define their role.

    • @airostores2145
      @airostores2145 8 месяцев назад

      Will you show me how to do that please 😁

  • @mehdimoradi603
    @mehdimoradi603 Год назад

    Does it remove the items or just hide them?

    • @websquadron
      @websquadron  Год назад +1

      Remove from sight :) But they can't access it or right click and get it.

    • @mehdimoradi603
      @mehdimoradi603 Год назад

      @@websquadron Thank you 🙏

  • @clintongallagher
    @clintongallagher Год назад

    And just where are those menu item array values documented?

    • @websquadron
      @websquadron  Год назад +1

      Good question, and I'll delve deeper to get them all out.

  • @jeditech.academy
    @jeditech.academy Год назад +1

    awesome