@ William
Within the copied code from the original getFamilyMemberBlock() function you’ll find this line; $relation = new cnOutput();. Now, within your custom function you be able to use like this:
if ( $atts['show_phonumbers'] ) $html = $html . $relation->getPhoneNumberBlock( array( 'format' => $atts['phone_format'] , 'type' => $atts['phone_types'] ) );
You would add this to your custom family function, not in the template. Also, take note that it is $relation->getPhoneNumberBlock() and not $entry->getPhoneNumberBlock().
Hope that helps!
ps.
re: I added my function “getFamilyMemberDetailBlock” to class.entry-output.php, as instructed above.
No, you should not edit the class.entry-output.php file. Any changes you make there will be lost during an update. Put your custom function elsewhere. For example in a code snippet.
