Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
get_inline_data example
if
(
'excerpt' ===
$mode
&& !
is_post_type_hierarchical
(
$this
->screen->post_type
)
&&
current_user_can
(
'read_post',
$post
->ID
)
)
{
if
(
post_password_required
(
$post
)
)
{
echo
'<span class="protected-post-excerpt">' .
esc_html
(
get_the_excerpt
(
)
)
. '</span>';
}
else
{
echo
esc_html
(
get_the_excerpt
(
)
)
;
}
}
get_inline_data
(
$post
)
;
}
/** * Handles the post date column output. * * @since 4.3.0 * * @global string $mode List table view mode. * * @param WP_Post $post The current WP_Post object. */