catchresponsive_get_content

Returns catchresponsive_contents registered for catchresponsive.

Description

catchresponsive_get_content(); 

Usage

  1. if ( !function_exists( 'catchresponsive_get_content' ) ) { 
  2. require_once '/inc/catchresponsive-default-options.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = catchresponsive_get_content(); 
  7.  

Defined (1)

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

/inc/catchresponsive-default-options.php  
  1. function catchresponsive_get_content() { 
  2. $theme_data = wp_get_theme(); 
  3.  
  4. $catchresponsive_content['left'] = sprintf( _x( 'Copyright © %1$s %2$s. All Rights Reserved.', '1: Year, 2: Site Title with home URL', 'catch-responsive' ), date( 'Y' ), '<a href="'. esc_url( home_url( '/' ) ) .'">'. esc_attr( get_bloginfo( 'name', 'display' ) ) . '</a>' ); 
  5.  
  6. $catchresponsive_content['right'] = esc_attr( $theme_data->get( 'Name') ) . ' ' . __( 'by', 'catch-responsive' ). ' <a target="_blank" href="'. esc_url( $theme_data->get( 'AuthorURI' ) ) .'">'. esc_attr( $theme_data->get( 'Author' ) ) .'</a>'; 
  7.  
  8. return apply_filters( 'catchresponsive_get_content', $catchresponsive_content );