# topic/1.0.2/index.php

Topic SEO Content Optimization Tool, version 1.0.2. 22 lines.

- Page: https://pluginprobe.com/plugins/topic/1.0.2/code/index.php
- Raw: https://pluginprobe.com/plugins/topic/1.0.2/raw/index.php
- Modified: 2021-03-29T22:53:46+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/topic/1.0.2/code/index.php#L10-L20`.

```php
<?php
/**
  * Plugin Name: Topic
  * Plugin URI: https://www.usetopic.com/
  * Description: Topic helps editors and agencies create content briefs in half the time.
  * Author: Topic
  * License: GPL v2 or later
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
  * Version: 1.0.2
  */ 
if( ! defined( 'ABSPATH') ) {
    exit;
}

function topic_enqueue_assets() {
  wp_enqueue_script(
    'topic-gutenberg-sidebar',
    plugins_url( 'build/index.js', __FILE__ ),
    array( 'wp-plugins', 'wp-edit-post', 'wp-i18n', 'wp-element' )
  );
}
add_action( 'enqueue_block_editor_assets', 'topic_enqueue_assets' );
```
