Skip to content

Instantly share code, notes, and snippets.

@raselupm
Created September 12, 2023 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raselupm/a806356e5286270687d3e56d1c7cc436 to your computer and use it in GitHub Desktop.
Save raselupm/a806356e5286270687d3e56d1c7cc436 to your computer and use it in GitHub Desktop.
<?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() );
$widgets_manager->register( new \PPM_TableAttributes_Widget() );
}
add_action( 'elementor/widgets/register', 'registering_ppm_addons_reloaded' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment