PluginProbe
Comments Extra Fields For Post,Pages and CPT / 1.0
Comments Extra Fields For Post,Pages and CPT v1.0
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.2 2.3 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 5.0 5.1 5.2
wp-comment-fields / config.php

config.php in Comments Extra Fields For Post,Pages and CPT 1.0, at config.php

37 lines 844 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * this file contains pluing meta information and then shared
4 * between pluging and admin classes
5 *
6 * [1]
7 * TODO: change this meta as plugin needs
8 */
9
10 $plugin_dir = 'wp-comment-fields';
11
12 $plugin_meta = array('name' => 'Comments Fields',
13 'shortname' => 'wpcomments',
14 'path' => WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $plugin_dir,
15 'url' => plugins_url( $plugin_dir , dirname(__FILE__) ),
16 'db_version' => 3.0,
17 'logo' => plugins_url( $plugin_dir.'/images/logo.png' , dirname(__FILE__) ),
18 'men_position' => 78);
19
20 /*
21 * TODO: change the function name
22 */
23 function get_plugin_meta_wpcomment(){
24
25 global $plugin_meta;
26
27 //print_r($plugin_meta);
28
29 return $plugin_meta;
30 }
31
32 function wpcomment_pa($arr){
33
34 echo '<pre>';
35 print_r($arr);
36 echo '</pre>';
37 }