wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



site_editor_intercept_render › WordPress Function

Seitn/v
Veraltetn/v
site_editor_intercept_render ( Keine Parameter )
Definiert in:
Codex:

Intercept admin_init to render the page early.

This bypasses the default WordPress admin template.


Quellcode

function site_editor_intercept_render() {
		// phpcs:ignore WordPress.Security.NonceVerification.Recommended
		if ( isset( $_GET['page'] ) && 'site-editor' === $_GET['page'] ) {
			site_editor_render_page();
			exit;
		}
	}
}