A blog about developing
  • A blog about developing

Disable woocommerce product gallery metabox

Posted on April 23, 2017 at 11:23 pm.

Written by segorev

It is very simply remove this metabox with follow code:

add_action( 'add_meta_boxes' , 'remove_my_meta_boxes', 40 );
function remove_my_meta_boxes()
{
    remove_meta_box( 'woocommerce-product-images',  'product', 'side');
}

Tags: notes

Post navigation

Useful plugin for fix your javascript files with errors
New order email is not sending for new clients in woocommerce
Recent Posts
  • How to check UUID on PHP
  • How to access a nested JavaScript array by a string path
  • How to prevent typing decimals in input type number
  • File protocol in GIT
  • Types and Typing in programming languages
Recent Comments
  • segorev on How to change recipient email on send event in Contact Form 7 (WordPress)
  • Ryan on How to change recipient email on send event in Contact Form 7 (WordPress)
Archives
  • December 2024
  • November 2024
  • April 2024
  • November 2022
  • September 2022
  • July 2022
  • January 2022
  • February 2021
  • January 2020
  • February 2018
  • January 2018
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • February 2017
  • December 2016
Categories
  • apache
  • contact form 7
  • css
  • frontend
  • git
  • google maps
  • graphql
  • Gutenberg
  • html
  • jade
  • javascript
  • jquery
  • modx
  • mysqld
  • notes
  • percona
  • php
  • programming
  • Uncategorized
  • visual composer
  • woocommerce
  • wordpress
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org