wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_check_site_meta_support_prefilter › WordPress Function
Desde5.1.0
Obsoleton/a
› wp_check_site_meta_support_prefilter ( $check )
| Parâmetros: |
|
| Retorna: |
|
| Definido em: |
|
| Codex: |
Aborts calls to site meta if it is not supported.
Fonte
function wp_check_site_meta_support_prefilter( $check ) {
if ( ! is_site_meta_supported() ) {
/* translators: %s: Database table name. */
_doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5.1.0' );
return false;
}
return $check;
}