# ghostkit/3.4.0/classes/3rd/class-rank-math.php

Block Animations, Motion &amp; Scroll Effects – Ghost Kit, version 3.4.0. 31 lines.

- Page: https://pluginprobe.com/plugins/ghostkit/3.4.0/code/classes/3rd/class-rank-math.php
- Raw: https://pluginprobe.com/plugins/ghostkit/3.4.0/raw/classes/3rd/class-rank-math.php
- Modified: 2024-02-18T18:40:24+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/ghostkit/3.4.0/code/classes/3rd/class-rank-math.php#L10-L20`.

```php
<?php
/**
 * Rank Math plugin.
 *
 * @package ghostkit
 */

/**
 * GhostKit_3rd_Rank_Math
 */
class GhostKit_3rd_Rank_Math {
	/**
	 * GhostKit_3rd_Rank_Math constructor.
	 */
	public function __construct() {
		add_filter( 'rank_math/researches/toc_plugins', array( $this, 'toc_plugin' ) );
	}

	/**
	 * Rank Math SEO filter to add our TOC block to the TOC list.
	 *
	 * @param array $plugins TOC plugins.
	 */
	public function toc_plugin( $plugins ) {
		$plugins['ghostkit/class-ghost-kit.php'] = 'Ghost Kit';
		return $plugins;
	}
}

new GhostKit_3rd_Rank_Math();

```
