Constants

TESTIMONIAL_POST_TYPE

TESTIMONIAL_POST_TYPE

Properties

$version

$version

Methods

init()

init()

__construct()

__construct()

Conditionally hook into WordPress.

Themes must declare that they support this module by adding add_theme_support( 'jetpack-testimonial' ); during after_setup_theme.

If no theme support is found there is no need to hook into WordPress. We'll just return early instead.

site_supports_testimonial()

site_supports_testimonial()

Should this Custom Post Type be made available?

register_post_types()

register_post_types()

change_default_title()

change_default_title( $title)

Change ‘Enter Title Here’ text for the Testimonial.

Parameters

$title

edit_title_column_label()

edit_title_column_label( $columns)

Change ‘Title’ column label on all Testimonials page.

Parameters

$columns

updated_messages()

updated_messages( $messages)

Update messages for the Testimonial admin.

Parameters

$messages

set_testimonial_option()

set_testimonial_option()

count_testimonials()

count_testimonials()

add_customize_page()

add_customize_page()

Adds a submenu link to the Customizer.

customize_register()

customize_register( $wp_customize)

Adds testimonial section to the Customizer.

Parameters

$wp_customize