Submit
Path:
~
/
home
/
getwphos
/
public_html
/
seasons-newtheme
/
wp-content
/
plugins
/
learnpress
/
inc
/
File Content:
class-lp-strings.php
<?php /** * Class LP_Strings * @deprecated */ class LP_Strings { /** * @since 3.3.0 * * @var array */ protected static $strings = array(); /** * @since 3.2.0 * @TODO should remove - tungnx, no important */ public static function load() { $strings = apply_filters( 'learnpress/strings', array( 'you_have_completed_quiz' => __( 'You\'ve already completed the quiz.', 'learnpress' ), 'confirm-redo-quiz' => __( 'Do you want to redo the quiz "%s"?', 'learnpress' ), 'confirm-complete-quiz' => __( 'Do you want to complete the quiz "%s"?', 'learnpress' ), 'confirm-complete-lesson' => __( 'Do you want to complete the lesson "%s"?', 'learnpress' ), 'confirm-finish-course' => __( 'Do you want to finish the course "%s"?', 'learnpress' ), 'confirm-retake-course' => __( 'Do you want to retake the course "%s"?', 'learnpress' ), ) ); self::$strings = $strings; } /** * @param string $str * @param string $context * @param string $args * * @return mixed|string */ public static function get( $str, $context = '', $args = '' ) { $string = $str; $strings = self::$strings; if ( $strings ) { if ( array_key_exists( $str, $strings ) ) { $texts = $strings[ $str ]; if ( is_string( $texts ) ) { $string = $texts; } elseif ( $context && array_key_exists( $context, $texts ) ) { $string = $texts[ $context ]; } else { $string = reset( $texts ); } } } return is_array( $args ) ? vsprintf( $string, $args ) : $string; } public static function esc_attr( $str, $context = '', $args = '' ) { return esc_attr( self::get( $str, $context, $args ) ); } public static function esc_attr_e( $str, $context = '', $args = '' ) { echo esc_attr( self::get( $str, $context, $args ) ); } public static function output( $str, $context = '', $args = '' ) { } } LP_Strings::load();
Submit
FILE
FOLDER
Name
Size
Permission
Action
Ajax
---
0755
Databases
---
0755
ExternalPlugin
---
0755
Filters
---
0755
Helpers
---
0755
MetaBox
---
0755
Models
---
0755
Shortcodes
---
0755
TemplateHooks
---
0755
Widgets
---
0755
abstracts
---
0755
admin
---
0755
background-process
---
0755
block-template
---
0755
cache
---
0755
cart
---
0755
course
---
0755
curds
---
0755
custom-post-types
---
0755
emails
---
0755
gateways
---
0755
handle-steps
---
0755
interfaces
---
0755
jwt
---
0755
lesson
---
0755
libraries
---
0755
order
---
0755
question
---
0755
quiz
---
0755
rest-api
---
0755
settings
---
0755
templates
---
0755
updates
---
0755
user
---
0755
user-item
---
0755
abstract-settings.php
5132 bytes
0644
cache.php
14474 bytes
0644
class-lp-ajax.php
8184 bytes
0644
class-lp-asset-key.php
1965 bytes
0644
class-lp-assets.php
14992 bytes
0644
class-lp-autoloader.php
2589 bytes
0644
class-lp-breadcrumb.php
10259 bytes
0644
class-lp-checkout.php
15740 bytes
0644
class-lp-course-query.php
3498 bytes
0644
class-lp-datetime.php
9095 bytes
0644
class-lp-debug.php
2683 bytes
0644
class-lp-duration.php
3677 bytes
0644
class-lp-emails.php
6138 bytes
0644
class-lp-file-system.php
7258 bytes
0644
class-lp-forms-handler.php
16138 bytes
0644
class-lp-global.php
6526 bytes
0644
class-lp-helper.php
15158 bytes
0644
class-lp-install.php
7769 bytes
0644
class-lp-manager-addons.php
8444 bytes
0644
class-lp-page-controller.php
34571 bytes
0644
class-lp-query-list-table.php
4395 bytes
0644
class-lp-query.php
9694 bytes
0644
class-lp-request-handler.php
11768 bytes
0644
class-lp-session-handler.php
10119 bytes
0644
class-lp-settings.php
12006 bytes
0644
class-lp-shortcodes.php
7207 bytes
0644
class-lp-strings.php
1907 bytes
0644
class-lp-template.php
1542 bytes
0644
class-lp-thumbnail-helper.php
1222 bytes
0644
class-lp-widget.php
12938 bytes
0644
index.php
28 bytes
0644
lp-constants.php
4290 bytes
0644
lp-core-functions.php
69852 bytes
0644
lp-custom-hooks.php
1025 bytes
0644
lp-deprecated.php
29619 bytes
0644
lp-template-functions.php
45987 bytes
0644
lp-template-hooks.php
18193 bytes
0644
lp-webhooks.php
3015 bytes
0644
lp-widget-functions.php
1585 bytes
0644
N4ST4R_ID | Naxtarrr