wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_should_replace_insecure_home_url › Les Filtres WordPress
Depuis5.7.0
Dépréciéen/a
› apply_filters( 'wp_should_replace_insecure_home_url', $should_replace_insecure_home_url )
| Paramètres: |
|
| Défini(e) dans: |
|
| Codex: |
Filters whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart.
If a WordPress site had its URL changed from HTTP to HTTPS, by default this will return `true`. This filter can be used to disable that behavior, e.g. after having replaced URLs manually in the database.Fonctions en relation: wp_should_replace_insecure_home_url, wp_replace_insecure_home_url, wp_replace_in_html_tags, _wp_dashboard_recent_comments_row, wp_dashboard_recent_comments_control, wp_dashboard_recent_comments