Posts_Table_Hook_Manager extends Table_Hooks

Responsible for managing the actions and filter hooks for an individual posts table.

Tags
deprecated
2.2

Replaced by Barn2\Plugin\Posts_Table_Pro\Table_Hooks

Table of Contents

$args  : mixed
$end_hook  : mixed
$hooks  : mixed
$start_hook  : mixed
__construct()  : mixed
add_action()  : mixed
add_filter()  : mixed
maybe_strip_shortcodes()  : mixed
maybe_trim_content()  : mixed
maybe_trim_excerpt()  : mixed
maybe_trim_text()  : mixed
more_content_text()  : mixed
register()  : mixed
remove_action()  : mixed
remove_filter()  : mixed
reset()  : mixed
set_custom_audio_shortcode_class()  : mixed
set_custom_video_playlist_class()  : mixed
set_custom_video_shortcode_class()  : mixed
set_excerpt_length()  : mixed
set_featured_image_class()  : array<string|int, mixed>
Remove wp-post-image class from featured images shown in table.
set_scope()  : mixed
array_walk_add_filter()  : mixed
array_walk_remove_filter()  : mixed
initialize()  : mixed

Properties

Methods

add_action()

public add_action(mixed $tag, mixed $function[, mixed $priority = 10 ][, mixed $accepted_args = 1 ]) : mixed
Parameters
$tag : mixed
$function : mixed
$priority : mixed = 10
$accepted_args : mixed = 1
Return values
mixed

add_filter()

public add_filter(mixed $tag, mixed $function[, mixed $priority = 10 ][, mixed $accepted_args = 1 ]) : mixed
Parameters
$tag : mixed
$function : mixed
$priority : mixed = 10
$accepted_args : mixed = 1
Return values
mixed

maybe_strip_shortcodes()

public maybe_strip_shortcodes(mixed $content) : mixed
Parameters
$content : mixed
Return values
mixed

maybe_trim_content()

public maybe_trim_content(mixed $content) : mixed
Parameters
$content : mixed
Return values
mixed

maybe_trim_excerpt()

public maybe_trim_excerpt(mixed $excerpt) : mixed
Parameters
$excerpt : mixed
Return values
mixed

maybe_trim_text()

public static maybe_trim_text(mixed $content, mixed $length) : mixed
Parameters
$content : mixed
$length : mixed
Return values
mixed

more_content_text()

public static more_content_text() : mixed
Return values
mixed

remove_action()

public remove_action(mixed $tag, mixed $function[, mixed $priority = 10 ][, mixed $accepted_args = 1 ]) : mixed
Parameters
$tag : mixed
$function : mixed
$priority : mixed = 10
$accepted_args : mixed = 1
Return values
mixed

remove_filter()

public remove_filter(mixed $tag, mixed $function[, mixed $priority = 10 ][, mixed $accepted_args = 1 ]) : mixed
Parameters
$tag : mixed
$function : mixed
$priority : mixed = 10
$accepted_args : mixed = 1
Return values
mixed

set_custom_audio_shortcode_class()

public set_custom_audio_shortcode_class(mixed $class) : mixed
Parameters
$class : mixed
Return values
mixed

set_custom_video_playlist_class()

public set_custom_video_playlist_class(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

set_custom_video_shortcode_class()

public set_custom_video_shortcode_class(mixed $class) : mixed
Parameters
$class : mixed
Return values
mixed

set_excerpt_length()

public set_excerpt_length(mixed $excerpt_length) : mixed
Parameters
$excerpt_length : mixed
Return values
mixed

Remove wp-post-image class from featured images shown in table.

public set_featured_image_class(array<string|int, mixed> $attr) : array<string|int, mixed>

Prevents CSS conflicts with other plugins & themes.

Parameters
$attr : array<string|int, mixed>

The image attributes

Return values
array<string|int, mixed>

The updated attributes

set_scope()

public set_scope(mixed $start_hook, mixed $end_hook) : mixed
Parameters
$start_hook : mixed
$end_hook : mixed
Return values
mixed

array_walk_add_filter()

private array_walk_add_filter(mixed $hook) : mixed
Parameters
$hook : mixed
Return values
mixed

array_walk_remove_filter()

private array_walk_remove_filter(mixed $hook) : mixed
Parameters
$hook : mixed
Return values
mixed

Search results