PHP Class Elementor\Compatibility

Show file Open project: pojome/elementor

Public Methods

Method Description
init ( )
on_wp_import_post_meta ( array $post_meta ) : array Normalize Elementor post meta on import, We need the wp_slash in order to avoid the unslashing during the add_post_meta
register_actions ( )

Method Details

init() public static method

public static init ( )

on_wp_import_post_meta() public static method

Normalize Elementor post meta on import, We need the wp_slash in order to avoid the unslashing during the add_post_meta
public static on_wp_import_post_meta ( array $post_meta ) : array
$post_meta array
return array

register_actions() public static method

public static register_actions ( )