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

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

- Page: https://pluginprobe.com/plugins/ghostkit/2.25.0/code/classes/3rd/class-rank-math.php
- Raw: https://pluginprobe.com/plugins/ghostkit/2.25.0/raw/classes/3rd/class-rank-math.php
- Modified: 2021-03-02T16:54:44+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/2.25.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();

```
