Lengkap

PHP function to unpublish all products for a specific user role (woocommerce)

Hello!

The project should be relatively simple for a php developer.

I need a php function to unpublish all products for a specific user role in woocommerce (wordpress). I want to put the function in my child theme [login to view URL] file.

On my Wordpress site users can change user roles. Once a user role is changed (to subscriber), I want all the products belonging to this user to become unpublished.

Basically make all the products that the user published before to unpublished.

Thanks

Kemahiran: PHP, Wordpress

Lihat lagi: document manager php user role, php function compare products, wordpress user photo php function, tweets specific user using api php code, we are looking for a sas programmer for our pharma client in germany frankfurt for contract role duration of the project is 12 m, how to create login page that redirects based on user role in php, creating multi user role based admin using php mysql, multi user role based login in php with mysql, multi user role based login in php with mysql source code, onesignal send notification to specific user php, php user role management system, woocommerce hide price user role, edit functions.php wordpress child theme, edit functions php wordpress child theme, multi user role based login in php with mysqli, wordpress child theme override php file, describe how critical the role is for the project, wordpress child theme functions.php example, php file on wordpress, maximum products per user for woocommerce pro

Tentang Majikan:
( 0 ulasan ) Munich, Germany

ID Projek: #31046644

Dianugerahkan kepada:

CodingExpertz

Hi, I can do it perfectly and can finish within a short time. Feel free to contact me on chat for more discussion ... Looking forward to your reply. Regards, Nand

€15 EUR dalam sehari
(128 Ulasan)
6.6

7 pekerja bebas membida secara purata €24 untuk pekerjaan ini

moonwebtech

Hello I am expert wordpress developer and i can do this unpublished task according to user role so please message me for this task Thanks

€35 EUR dalam 2 hari
(328 Ulasan)
7.7
phpdeveloper3

Hello employer, I am a 7+ years experienced web programmer specializing in almost all php cms(Word, Joomla, Drupal, Magento) / frameworks (Laravel, CODEIGNITER, CakePHP, symphony) and full stack technologies (Angular Lagi

€29 EUR dalam 2 hari
(25 Ulasan)
5.3
(25 Ulasan)
5.1
malikasad079

Hi! I am skilled Full stack software engineer with skills including HTML,CSS,Bootstrap,PHP,Laravel,MySQL,jquery,Javascript,wordpress,Shopify (Shopify Templates),Woo Commerce ( Woo Commerce themes),E-commerce focused So Lagi

€19 EUR dalam 7 hari
(8 Ulasan)
3.5
Khizerrehman1995

Hi, I hope all is well with you. I have read the job description. I find it a perfect match for me as I have extensive hands on experience in Web Development. I have developed a lot of websites and stores using Word Lagi

€30 EUR dalam 4 hari
(1 Ulasan)
0.8
Farzannaz8

Hi I read your project description for website development and am sure I can give you quality work. I have expertise in web development. And I will make it at your given price and time. I'm an experienced web develope Lagi

€12 EUR dalam 2 hari
(0 Ulasan)
0.0