Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| <?php | |
| add_filter( 'toolset_build_intermediary_post_title', 'make_descriptive_intermediary_post_titles', 11, 4 ); | |
| function make_descriptive_intermediary_post_titles( $post_title, $relationship_slug, $parent_id, $child_id ){ | |
| $parent_title = get_the_title( $parent_id ); | |
| $child_title = get_the_title( $child_id ); | |
| return $relationship_slug . ': ' . $child_title . ' in ' . $parent_title; | |
| } |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
I hereby claim:
To claim this, I am signing this object: