Submit
Path:
~
/
home
/
getwphos
/
public_html
/
seasons-newtheme
/
wp-content
/
plugins
/
learnpress-wishlist
/
templates
/
File Content:
button.php
<?php /** * Template for displaying button to toggle course wishlist on/off. * * This template can be overridden by copying it to yourtheme/learnpress/addons/wishlist/button.php. * * @author ThimPress * @package LearnPress/Wishlist/Templates * @version 3.0.2 */ // Prevent loading this file directly defined( 'ABSPATH' ) || exit; if ( ! isset( $classes ) || ! isset( $course_id ) || ! isset( $title ) || ! isset( $state ) ) { return; } printf( '<button class="lp-button lp-btn-wishlist learn-press-course-wishlist-button-%2$d %s" data-id="%s" data-nonce="%s" title="%s" data-text="%s">%s</button>', join( ' ', $classes ), $course_id, wp_create_nonce( 'course-toggle-wishlist' ), $title, __( 'Processing...', 'learnpress-wishlist' ), $state == 'on' ? __( 'Remove from Wishlist', 'learnpress-wishlist' ) : __( 'Add to Wishlist', 'learnpress-wishlist' ) );
Submit
FILE
FOLDER
Name
Size
Permission
Action
loop
---
0755
button.php
872 bytes
0644
user-wishlist.php
959 bytes
0644
wishlist-content.php
847 bytes
0644
N4ST4R_ID | Naxtarrr