Dynamically Override Fancy Title – Part II
I finally got it. The final version of the function is: <?php // ACCOMODATION TITLE add_filter (‘presscore_get_page_title’,’netbooking_presscore_get_page_title’,10,1); function netbooking_presscore_get_page_title ( $title ) { if( is_page( ‘1057’ ) ){ $GLOBALS[“content”] = $content; // This reads input considering a default value in case of error $INPUT = function($param, $default, $prefix = true){ $key = $prefix ? ‘netbooking_structure_’.$param … Read more