Uma área de pesquisa sobre o WordPress para devs e autores do tema



display_media_states ›

Desde4.8.0
Obsoleton/a
apply_filters( 'display_media_states', $media_states, $post )
Parâmetros: (2)
  • (string[]) $media_states An array of media states. Default 'Header Image', 'Background Image', 'Site Icon', 'Logo'.
    Required: Yes
  • (WP_Post) $post The current attachment object.
    Required: Yes
Definido em:
Codex:

Filters the default media display states for items in the Media list table.





Fonte

$media_states = apply_filters( 'display_media_states', $media_states, $post );