golden hour
/home/godaofbq/beyondhyperbarics.com/wp-content/plugins/image-sizes/app
⬆️ Go Up
Upload
File/Folder
Size
Actions
AJAX.php
1.81 KB
Del
OK
Admin.php
9.18 KB
Del
OK
Cron.php
1.17 KB
Del
OK
Front.php
1.16 KB
Del
OK
Modules.php
1.76 KB
Del
OK
Settings.php
4.25 KB
Del
OK
Wizard.php
3.62 KB
Del
OK
Edit: Front.php
<?php namespace Codexpert\ThumbPress\App; use Codexpert\Plugin\Base; use Codexpert\ThumbPress\Helper; /** * if accessed directly, exit. */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * @package Plugin * @subpackage Front * @author Codexpert <hi@codexpert.io> */ class Front extends Base { public $plugin; /** * Constructor function */ public function __construct( $plugin ) { $this->plugin = $plugin; $this->slug = $this->plugin['TextDomain']; $this->name = $this->plugin['Name']; $this->version = $this->plugin['Version']; } /** * Enqueue JavaScripts and stylesheets */ public function enqueue_scripts() { $min = defined( 'THUMBPRESS_DEBUG' ) && THUMBPRESS_DEBUG ? '' : '.min'; wp_enqueue_style( $this->slug, plugins_url( "/assets/css/front{$min}.css", THUMBPRESS ), '', $this->version, 'all' ); } public function credit() { if( Helper::get_option( 'image-sizes_tools', 'footer_credit' ) != 'yes' ) return; echo '<p id="image-sizes-credit">'; printf( __( 'Thumbnails managed by <a href="%s" target="_blank">ThumbPress</a>', 'image-sizes' ), 'https://pluggable.io/plugin/thumbpress' ); echo '</p>'; } public function head(){} }
Save