cptbc_settings_link

The CPT Bootstrap Carousel cptbc settings link function.

Description

cptbc_settings_link( $links ); 

Parameters (1)

0. $links
The links.

Usage

  1. if ( !function_exists( 'cptbc_settings_link' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'cpt-bootstrap-carousel/cptbc-settings.php'; 
  3.  
  4. // The links. 
  5. $links = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = cptbc_settings_link($links); 
  9.  

Defined (1)

The function is defined in the following location(s).

/cptbc-settings.php  
  1. function cptbc_settings_link ($links) {  
  2. $settings_link = '<a href="edit.php?post_type=cptbc&page=cpt-bootstrap-carousel">'.__('Settings', 'cpt-bootstrap-carousel').'</a>';  
  3. array_unshift($links, $settings_link);  
  4. return $links;