Skip to content

Commit

Permalink
= 4.2.7 =
Browse files Browse the repository at this point in the history
~ Added: args for hook.
  • Loading branch information
tungnxt89 committed Aug 10, 2024
1 parent 1f0aa3e commit 9ab22fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/profile/tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@
echo wp_kses_post( $section_data['icon'] );
}
?>
<?php echo apply_filters( 'learn_press_profile_' . $tab_key . '_tab_title', $section_data['title'], $tab_key ); ?>
<?php echo apply_filters(
'learn_press_profile_' . $tab_key . '_tab_title',
$section_data['title'],
$tab_key,
$section_key,
$section_data
); ?>
</a>
</li>

Expand Down

0 comments on commit 9ab22fa

Please sign in to comment.