PluginProbe
Comments Extra Fields For Post,Pages and CPT / 2.2
Comments Extra Fields For Post,Pages and CPT v2.2
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 2.2, at config.php

39 lines 822 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
11 // Updated as this still get used elsewhere in the plugin
12 $plugin_meta = array(
13 'name' => 'Comments Fields',
14 'shortname' => 'wpcomments',
15 'path' => wpcf_get_path(),
16 'url' => wpcf_get_url(),
17 'db_version' => 3.0,
18 'logo' => plugins_url( plugin_basename( __DIR__ ) . '/images/logo.png', dirname( __FILE__ ) ),
19 'men_position' => 78,
20 );
21
22 /*
23 * TODO: change the function name
24 */
25 function get_plugin_meta_wpcomment() {
26
27 global $plugin_meta;
28
29 // print_r($plugin_meta);
30 return $plugin_meta;
31 }
32
33 function wpcomment_pa1( $arr ) {
34
35 echo '<pre>';
36 print_r( $arr );
37 echo '</pre>';
38 }
39