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