Skip to content
Docs
Get RestroPress

Action

rpress_before_taxonomy_widget

Updated
On this page

Fires before the term list in the categories and tags widget.

Runs in the categories and tags widget after the title and before the ul element with class rpress-taxonomy-widget is printed.

Example#

function my_before_taxonomy_widget() {
	echo '<p class="my-taxonomy-intro">' . esc_html__( 'Browse the menu', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_before_taxonomy_widget', 'my_before_taxonomy_widget', 10, 0 );

Source#

Fired from:

  • includes/widgets.php (line 136), in rpress_categories_tags_widget::widget()

See also#

Was this page helpful?