# wp-comment-fields/1.7/config.php

Comments Extra Fields For Post,Pages and CPT, version 1.7. 37 lines.

- Page: https://pluginprobe.com/plugins/wp-comment-fields/1.7/code/config.php
- Raw: https://pluginprobe.com/plugins/wp-comment-fields/1.7/raw/config.php
- Modified: 2020-02-02T09:07:36+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/wp-comment-fields/1.7/code/config.php#L10-L20`.

```php
<?php
/*
 * this file contains pluing meta information and then shared
 * between pluging and admin classes
 * 
 * [1]
 * TODO: change this meta as plugin needs
 */

$plugin_dir = 'wp-comment-fields';

$plugin_meta		= array('name'			=> 'Comments Fields',
							'shortname'		=> 'wpcomments',
							'path'			=> WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $plugin_dir,
							'url'			=> plugins_url( $plugin_dir , dirname(__FILE__) ),
							'db_version'	=> 3.0,
							'logo'			=> plugins_url( $plugin_dir.'/images/logo.png' , dirname(__FILE__) ),
							'men_position'	=> 78);

/*
 * TODO: change the function name
*/
function get_plugin_meta_wpcomment(){
	
	global $plugin_meta;
	
	//print_r($plugin_meta);
	
	return $plugin_meta;
}

function wpcomment_pa1($arr){

	echo '<pre>';
	print_r($arr);
	echo '</pre>';
}
```
