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 registering_ppm_addons_reloaded( $widgets_manager ) { | |
require_once( __DIR__ . '/addons.php' ); | |
$widgets_manager->register( new \PPM_Slider_Widget() ); | |
$widgets_manager->register( new \PPM_ImageBox_Widget() ); | |
$widgets_manager->register( new \PPM_Testimonials_Widget() ); | |
$widgets_manager->register( new \PPM_RelatedProducts_Widget() ); |
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
"customizations": { | |
"layout": { | |
"value": null | |
}, | |
"titleGraphic": { | |
"value": null | |
}, | |
"titleGraphicCategory": { | |
"value": null | |
}, |
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
[ | |
{ | |
"_id": "6398bedd741c8e001972d49e", | |
"active": true, | |
"clearance": { | |
"cents": 0.0, | |
"currency_iso": "USD" | |
}, | |
"created_at": null, | |
"min_quantity": 1, |
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
RewriteEngine on | |
RewriteRule ^(.*)$ https://blog.preparedpantry.com/$1 [R=301,L] |
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 | |
// official documentation link: https://theeventscalendar.com/knowledgebase/k/using-tribe_get_events/ | |
$events = tribe_get_events( [ | |
'posts_per_page' => 3, | |
'start_date' => date('Y-m-d') | |
] ); |
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 | |
/* | |
Plugin Name: Ajax Taxonomy | |
Version: 1.0 | |
*/ | |
wp_enqueue_script('jquery'); | |
add_action('wp_ajax_my_prefix_ajax_taxonomy', 'my_prefix_ajax_taxonomy'); | |
add_action('wp_ajax_nopriv_my_prefix_ajax_taxonomy', 'my_prefix_ajax_taxonomy'); |
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
function modal_testimonial_btn( $atts, $content = null ) { | |
extract( shortcode_atts( array( | |
'form_id' => '' | |
), $atts ) ); | |
$q = new WP_Query( | |
array('posts_per_page' => -1, 'post_type' => 'review') | |
); |
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 | |
namespace App\Http\Livewire; | |
use App\Models\State; | |
use Livewire\Component; | |
class EditState extends Component | |
{ |
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 | |
namespace App\Jobs; | |
use App\Mail\Monitor; | |
use App\Models\Domain; | |
use App\Models\Event; | |
use App\Models\User; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Contracts\Queue\ShouldQueue; |
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 | |
namespace App\Jobs; | |
use App\Models\Domain; | |
use App\Models\Event; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Foundation\Bus\Dispatchable; | |
use Illuminate\Queue\InteractsWithQueue; |