Replace a non pluggable function in a WordPress parent theme with a customized function in the child theme

A pluggable function is a a function wrapped in a function_exists() call eg. <?php if ( ! function_exists( ‘my_pluggable_function’ ) ) { function my_pluggable_function() { /* Some code goes here */ } } ?> When using a child theme, you can override pluggable functions by defining them first in your child theme’s functions.php file. The child … Continue reading Replace a non pluggable function in a WordPress parent theme with a customized function in the child theme