You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( strpos($hook_suffix, $this->getPluginSlug() . '_log' ) == false )
402
-
return$contextual_help;
403
-
404
-
// The add_help_tab function for screen was introduced in WordPress 3.3.
405
-
if ( ! method_exists( $screen, 'add_help_tab' ) )
406
-
return$contextual_help;
407
-
408
-
409
-
// List screen properties
410
-
$left = '<div style="width:50%;float:left;">'
411
-
. '<h4>About this plugin</h4>'
412
-
. '<p>This plugin is open source.</p>'
413
-
. '</div>';
414
-
415
-
416
-
$right = '<div style="width:50%;float:right;">'
417
-
. '<h4>Donate</h4>'
418
-
. '<p>If you like the plugin please consider to make a donation. More information are provided on my <a href="http://no3x.de/web/donate">website</a>.</p>'
419
-
. '</div>';
420
-
421
-
$help_content = $left . $right;
422
-
423
-
/**
424
-
* Content specified inline
425
-
*/
426
-
$screen->add_help_tab(
427
-
array(
428
-
'title' => __('About Plugin', 'wp-mail-logging'),
429
-
'id' => 'about_tab',
430
-
'content' => '<p>' . __( "{$this->getPluginDisplayName()}, logs each email sent by WordPress.", 'wp-mail-logging') . '</p>' . $help_content,
0 commit comments