Changeset 1269963
- Timestamp:
- 10/21/2015 01:45:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
automatic-copyright-year/trunk/automatic-copyright-year.php
r1197466 r1269963 30 30 } 31 31 add_action( 'wp_enqueue_scripts', 'wpsos_include_scripts' ); 32 33 /** 34 * Add links to WPSOS 35 */ 36 function wpsos_acy_set_plugin_meta( $links, $file ) { 37 38 if ( strpos( $file, 'automatic-copyright-year.php' ) !== false ) { 39 40 $links = array_merge( $links, array( '<a href="http://www.wpsos.io/wordpress-plugin-automatic-copyright-year/">' . __( 'Plugin details', 'simple-embed-code' ) . '</a>' ) ); 41 $links = array_merge( $links, array( '<a href="http://www.wpsos.io/">' . __( 'WPSOS - WordPress Security, Optimization & Speed', 'simple-embed-code' ) . '</a>' ) ); 42 } 43 return $links; 44 } 45 add_filter( 'plugin_row_meta', 'wpsos_acy_set_plugin_meta', 10, 2 ); 32 46 ?>
Note: See TracChangeset
for help on using the changeset viewer.