Preview_Modal implements Registerable, Service

Handle the Preview Modal output

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Service

Table of Contents

add_to_document_table()  : mixed
Adds the preview modal output for each table rendered in html.
add_to_single_document()  : mixed
Adds the preview modal to the single content.
register()  : mixed
{@inheritdoc}
get_modal_html()  : string
Gets the HTML for a preview modal.

Methods

add_to_document_table()

Adds the preview modal output for each table rendered in html.

public add_to_document_table(string $result, string $output, Posts_Table_Pro $posts_table) : mixed
Parameters
$result : string
$output : string
$posts_table : Posts_Table_Pro
Tags
Return values
mixed

add_to_single_document()

Adds the preview modal to the single content.

public add_to_single_document() : mixed
Tags
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

get_modal_html()

Gets the HTML for a preview modal.

private get_modal_html(string $modal_id) : string
Parameters
$modal_id : string
Tags
Return values
string

Search results