Skip to content
Yet Another Programmer's Blog

Yet Another Programmer's Blog

PHP, Magento, iOS and more

  • Home
  • Contact
  • Privacy Policy
PHP / Wordpress

Quick tip: How to create WooCommerce product variants programmatically?

Posted on: August 23, 2015

I found few solutions, but obviously none of them were working, so had to find it out by myself. So where to start – lets suppose we have […]

PHP / Wordpress

Quick tip – how to get specific posts/page by their ID?

Posted on: October 27, 2012October 27, 2012

At first look it was simple, just: $args = array(“post__in” => array(1,2,3)); $posts = new WP_Query(); $posts -> query($args); while ($posts -> have_posts()){ $posts -> the_post(); echo the_title().'<br/>’; […]

Wordpress

How to hide menu in own WordPress plugin?

Posted on: October 22, 2012

Sometime you want to restrict parts of your plugin using additional permissions management, since this is quite easy, hiding menu items can be a bit tricky – you […]

  • iOS
  • Mac
  • Magento
  • MySQL
  • PHP
  • Promocje
  • Python
  • Salesforce
  • Uncategorized
  • Wordpress
  • April 2025
  • November 2024
  • October 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • September 2022
  • July 2022
  • September 2021
  • June 2021
  • September 2020
  • May 2020
  • March 2020
  • January 2020
  • December 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • October 2018
  • August 2018
  • May 2018
  • April 2018
  • November 2017
  • August 2017
  • April 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • June 2013
  • March 2013
  • February 2013
  • November 2012
  • October 2012
  • August 2012
  • July 2012
  • May 2012
  • April 2012
  • February 2012
  • October 2011
  • September 2011
  • August 2011
  • July 2011
Theme Cube Blog by Kantipur Themes