@sanjipshah, thank you. Other than getting tripped up by mismatched quotation marks around names of actions and function names (I had to use straight quotation marks – I forgot how fussy PHP can be), your suggestion allows me to do what I need to do. Now, however, the controls in the Theme Options section of the WordPress dashboard no longer work. For example, in the Custom Header section, if I try to change the Header Menu Position from the default/left side to the right side and then click on the Save All Changes button, I get an error message saying, “Warning: Cannot modify header information – headers already sent by (output started at ./wp-content/themes/attitude-pro-child/functions.php:16) in ./wp-includes/pluggable.php on line 876.” I get the same error message if I try to change any other option in Theme Options section of the WordPress dashboard.
Line 16 of my child theme’s functions.php is the start of the PHP code that removes parent’s attitude_headerdetails() function from attitude_header hook and replaces it with my own attitude_child_headerdetails() funtion. Line 876 of pluggable.php is the following line from function wp_redirect() in WordPress 3.5.2 (I have not upgraded to WordPress 3.6 yet):
header(“Location: $location”, true, $status);
Is it possible to continue to use dashboard controls even after unhooking the Attitude theme’s attitude_headerdetails() function and replacing it with my own attitude_child_headerdetails() funtion? If so, how?