# top-10/4.3.2/includes/frontend/blocks/src/post-count/index.js

WebberZone Top 10 — Popular Posts, version 4.3.2. 18 lines.

- Page: https://pluginprobe.com/plugins/top-10/4.3.2/code/includes/frontend/blocks/src/post-count/index.js
- Raw: https://pluginprobe.com/plugins/top-10/4.3.2/raw/includes/frontend/blocks/src/post-count/index.js
- Modified: 2026-07-08T12:46:16+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/top-10/4.3.2/code/includes/frontend/blocks/src/post-count/index.js#L10-L20`.

```javascript
import { registerBlockType } from '@wordpress/blocks';

import './style.scss';
import { countIcon } from './components/icons';
import Edit from './edit';
import metadata from './block.json';

/**
 * Every block starts by registering a new block type definition.
 *
 * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
 */
registerBlockType(metadata.name, {
	...metadata,
	icon: countIcon,
	edit: Edit,
});

```
