Author: admin

Adding Custom Meta Box to Taxonomies

There are basically three main functions which will be used to add custom meta box for taxonomy and these functions are invoked through following hooks. 1. {taxonomy_name}_add_form_fields 2. {taxonomy_name}_edit_form_fields 3. edited_{taxonomy_name} 4. create_{taxonomy_name} Here, we can replace taxonomy_name with any default or custom created taxonomy accordingly.I have used “Woocommerce product taxonomy” in below mentioned example

Print Fibonacci Series in PHP

A Fibonacci series is defined as a sequence of number in which we can get next number is by adding previous two numbers.Fibonacci series starts with 0 or 1. Fibonacci Series looks like: 0 , 1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 , [crayon-5cbca367f0a34885855195/]