Skip to content

Commit

Permalink
Merge pull request #2463 from QuizandSurveyMaster/jh-profcerti-12164
Browse files Browse the repository at this point in the history
Add Filter: 'qmn_admin_results_tabs'
  • Loading branch information
zubairraeen authored Feb 8, 2024
2 parents b448f1a + d0d8351 commit 16b4024
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions php/classes/class-qmn-plugin-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,7 @@ public function get_admin_results_tabs() {
* Sort tabs by priority
*/
array_multisort( array_column($this->admin_results_tabs, 'priority'), SORT_ASC, $this->admin_results_tabs);

return $this->admin_results_tabs;
return apply_filters( 'qmn_admin_results_tabs', $this->admin_results_tabs );
}

/**
Expand Down

0 comments on commit 16b4024

Please sign in to comment.