wp_get_archives but i cant add text inside the links. I want a code like this:
The current code is as follows:
$archives = wp_get_archives(array( 'type' => 'yearly' ,'echo' => false ,'format' => 'custom' ,'before' => 'News' ));
So I would really like to get a list of years and URLs only, without any markup, so that I can create it myself. So maybe without
Maybe the best thing would be to have a simple table like:
array( array('year' => 2020, 'url' => 'https://www.....') )
How? 'Or' What?