Filter: AA_render_field_display_options

This allows to add and remove what to allow to be shown in form

$display_options = Array(
‘show_name’ => __( ‘Show name’, ‘author-avatars’ ),
‘show_email’ => __( ‘Show email’, ‘author-avatars’ ),
‘show_biography’ => __( ‘Show biography’, ‘author-avatars’ ),
‘show_postcount’ => __( ‘Show number of posts’, ‘author-avatars’ ),
‘show_last_post’ => __( ‘Show link to authors last post’, ‘author-avatars’ ),
);
if ( AA_is_bbpress() ) {
$display_options[‘show_bbpress_post_count’] = __( ‘Show BBPress Post Count’, ‘author-avatars’ );
}

$display_options = apply_filters( ‘AA_render_field_display_options’, $display_options );

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: