Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'init' , 'fl20220920_image_module' );
- function fl20220920_image_module() {
- if ( !class_exists( 'FLBuilder' ) ) return;
- /**
- * Add the image module as an alias module for the photo module
- */
- \FLBuilder::register_module_alias( 'image-module', array(
- 'module' => 'photo',
- 'name' => __( 'Image', 'textdomain' ),
- 'description' => __( 'Image, same as Photo', 'textdomain' ),
- 'icon' => 'format-image.svg',
- 'category' => __( 'Basic', 'fl-builder' ),
- ) );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement