# extendify/3.0.4/src/HelpCenter/help-center.js

Extendify, version 3.0.4. 21 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.0.4/code/src/HelpCenter/help-center.js
- Raw: https://pluginprobe.com/plugins/extendify/3.0.4/raw/src/HelpCenter/help-center.js
- Modified: 2026-02-18T22:27:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.0.4/code/src/HelpCenter/help-center.js#L10-L20`.

```javascript
import { HelpCenter } from '@help-center/HelpCenter';
import { render } from '@shared/lib/dom';
import { isOnLaunch } from '@shared/lib/utils';
import domReady from '@wordpress/dom-ready';
import '@help-center/help-center.css';
import '@help-center/buttons';

const isInsideIframe = () => !!document.querySelector('body.iframe');

domReady(() => {
	if (isOnLaunch() || isInsideIframe()) return;
	const id = 'extendify-help-center-main';
	if (document.getElementById(id)) return;
	const helpCenter = Object.assign(document.createElement('div'), {
		className: 'extendify-help-center',
		id,
	});
	document.body.append(helpCenter);
	render(<HelpCenter />, helpCenter);
});

```
