Filter an array
-
I get the basic idea of filters, but I’m stumped on filtering an array:
function genesis_post_categories_shortcode( $atts ) { $defaults = array( 'sep' => ', ', 'before' => __( 'Filed Under: ', 'genesis' ), 'after' => '', );
[Moderator Note: Please post code or markup snippets between backticks or use the code button.]
How do I filter only the ‘before’ part of this function?
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Filter an array’ is closed to new replies.