This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* PE_Elementor class. | |
* | |
* @category Class | |
* @package PEElementor | |
* @subpackage WordPress | |
* @author Dragi Postolovski <contact@projectsengine.com> | |
* @copyright 2021 Dragi Postolovski |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Projects Engine | |
* | |
* @copyright Copyright (C) 2021-2021, Projects Engine - contact@projectsengine.com | |
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3 or higher | |
* | |
* @wordpress-plugin | |
* Plugin Name: Projects Engine | |
* Version: 1.9.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Wrap two adjacent elements in a containing div using jQuery. | |
function pe_load_js() { | |
?> | |
<script type='text/javascript'> | |
jQuery(document).ready(function ($) { | |
$("#billing_customer_age_field span input").each(function(index) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function pe_custom_post_product() { | |
$labels = array( | |
'name' => _x( 'Products', 'post type general name' ), | |
'singular_name' => _x( 'Product', 'post type singular name' ), | |
'add_new' => _x( 'Add New', 'book' ), | |
'add_new_item' => __( 'Add New Product' ), | |
'edit_item' => __( 'Edit Product' ), | |
'new_item' => __( 'New Product' ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class PE_Random_Post extends WP_Widget { | |
public function __construct() { | |
// actual widget processes | |
parent::__construct( | |
'pe_random_post', // Base ID | |
'Random Post', // Name | |
array( 'description' => __( 'Display random post in sidebar widget.', 'projectsengine' ), ) // Args |
NewerOlder