A WordPress-centric search engine for devs and theme authors



media_view_settings ›

Since3.5.0
Deprecatedn/a
apply_filters( 'media_view_settings', $settings, $post )
Parameters: (2)
  • (array) $settings List of media view settings.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

Filters the media view settings.





Source

$settings = apply_filters( 'media_view_settings', $settings, $post );