Action
rpress_after_category_list
Fires after the category list in the menu sidebar.
Runs inside the sidebar categories container after the list of categories. It is not output when the category menu is disabled.
Example#
add_action( 'rpress_after_category_list', 'my_after_category_list' );
function my_after_category_list() {
echo '<a class="my-cat-all" href="' . esc_url( home_url( '/menu/' ) ) . '">' . esc_html__( 'Full menu', 'my-textdomain' ) . '</a>';
}
Notes#
Fired from both the default and the modern pack category templates.
Source#
Fired from:
templates/packs/modern/rpress-get-categories.php(line 58)templates/rpress-get-categories.php(line 60)
See also#
Was this page helpful?
