1. Home
  2. WP User Frontend Pro
  3. Tutorials
  4. Changing default image in dashboard

Changing default image in dashboard

If you’ve turned ON the image option in dashboard and you don’t have any featured image, you get a default image in the dashboard.

Default Dashboard Featured Image

If you want to add your own custom image, there is a filter wpuf_no_image. You just need to return the image URL to change the image.

function wpufe_dashboard_default_image() {
    return 'http://placehold.it/120x90';
}

add_filter( 'wpuf_no_image', 'wpufe_dashboard_default_image' );

Changed dashboard featured image

Was this article helpful to you? Yes 4 No 2

How can we help?