Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function cualquier_wea() {
- $ver = filemtime( DGV_ASSETS_PATH . '/dgv.js' );
- wp_enqueue_script( 'dgv-vimeo', DGV_ASSETS_URL . 'dgv.js', array( 'jquery' ), $ver, true );
- wp_localize_script( 'dgv-vimeo', 'DGV', array(
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
- 'nonce' => wp_create_nonce( self::NONCE ),
- 'uploading' => sprintf( '%s %s', '<img src="' . admin_url( 'images/spinner.gif' ) . '">', __( 'Uploading video. Please wait...', 'wp-vimeo-videos' ) )
- ) );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement