%s', esc_attr( self::RELATED_ENABLED ), checked( $enabled, true, false ), esc_html__( 'Show related monographs on single peptide pages', 'peptide-repo-core' ) ); } /** * Render output. * * @return void */ public static function render_limit_field(): void { printf( '', esc_attr( self::RELATED_LIMIT ), absint( get_option( self::RELATED_LIMIT, 3 ) ) ); echo '

' . esc_html__( 'Number of articles to display (1-6). Default: 3.', 'peptide-repo-core' ) . '

'; } /** * Render output. * * @return void */ public static function render_verification_section(): void { echo '

' . esc_html__( 'Configure automatic staleness scanning and digest notifications.', 'peptide-repo-core' ) . '

'; } /** * Render output. * * @return void */ public static function render_cadence_field(): void { $current = get_option( self::SCAN_CADENCE, 'weekly' ); echo ''; } /** * Render output. * * @return void */ public static function render_threshold_field(): void { printf( '', esc_attr( self::DEFAULT_THRESHOLD ), absint( get_option( self::DEFAULT_THRESHOLD, 180 ) ) ); } /** * Render output. * * @return void */ public static function render_high_velocity_field(): void { printf( '', esc_attr( self::HIGH_VELOCITY_THRESHOLD ), absint( get_option( self::HIGH_VELOCITY_THRESHOLD, 60 ) ) ); } /** * Render output. * * @return void */ public static function render_email_field(): void { printf( '', esc_attr( self::VERIFICATION_EMAIL ), esc_attr( (string) get_option( self::VERIFICATION_EMAIL, '' ) ) ); echo '

' . esc_html__( 'Comma-separated. Leave blank to disable email digests.', 'peptide-repo-core' ) . '

'; } }