PHP Class Elementor\Utils

Show file Open project: pojome/elementor Class Usage Examples

Public Methods

Method Description
do_not_cache ( ) : void Tell to WP Cache plugins do not cache this request.
generate_random_string ( $length = 7 )
get_edit_link ( $post_id )
get_placeholder_image_src ( )
get_youtube_id_from_url ( $url )
is_ajax ( )
is_post_type_support ( $post_id )
is_script_debug ( )

Method Details

do_not_cache() public static method

Tell to WP Cache plugins do not cache this request.
public static do_not_cache ( ) : void
return void

generate_random_string() public static method

public static generate_random_string ( $length = 7 )

get_placeholder_image_src() public static method

public static get_placeholder_image_src ( )

get_youtube_id_from_url() public static method

public static get_youtube_id_from_url ( $url )

is_ajax() public static method

public static is_ajax ( )

is_post_type_support() public static method

public static is_post_type_support ( $post_id )

is_script_debug() public static method

public static is_script_debug ( )