wpseek.com
A WordPress-centric search engine for devs and theme authors



site_editor_intercept_render › WordPress Function

Sincen/a
Deprecatedn/a
site_editor_intercept_render ( No parameters )
Defined at:
Codex:

Intercept admin_init to render the page early.

This bypasses the default WordPress admin template.


Source

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