Notifications::load_options()
Description #
Register notification addon options.
Source #
File: addons/notifications/notifications.php
public function load_options() {
$opt = ap_opt();
$form = array(
'fields' => array(
'user_page_title_notifications' => array(
'label' => __( 'Notifications page title', 'anspress-question-answer' ),
'desc' => __( 'Custom title for user profile notifications page', 'anspress-question-answer' ),
'value' => $opt['user_page_title_notifications'],
),
'user_page_slug_notifications' => array(
'label' => __( 'Notifications page slug', 'anspress-question-answer' ),
'desc' => __( 'Custom slug for user profile notifications page', 'anspress-question-answer' ),
'value' => $opt['user_page_slug_notifications'],
),
),
);
return $form;
}
Expand full source code Collapse full source code View on GitHub: addons/notifications/notifications.php:113
Add your comment