public function admin_enqueue_scripts() {
		if ( ! current_user_can( $this->userRole ) ) {
			return;
		}

		$prompt = $this->getNext();

		if ( ! empty( $prompt ) ) {
			wp_enqueue_script(
				'bglib-rating-prompt-js',
				Library\Configs::get( 'libraryUrl' ) . 'src/assets/js/rating-prompt.js',
				'jquery',
				date( 'Ymd' )
			);

			wp_enqueue_style(
				'bglib-rating-prompt-css',
				Library\Configs::get( 'libraryUrl' ) . 'src/assets/css/rating-prompt.css',
				array(),
				date( 'Ymd' )
			);
		}
	}
public function admin_enqueue_scripts() {
		if ( ! current_user_can( $this->userRole ) ) {
			return;
		}

		$prompt = $this->getNext();

		if ( ! empty( $prompt ) ) {
			wp_enqueue_script(
				'bglib-rating-prompt-js',
				Library\Configs::get( 'libraryUrl' ) . 'src/assets/js/rating-prompt.js',
				'jquery',
				date( 'Ymd' )
			);

			wp_enqueue_style(
				'bglib-rating-prompt-css',
				Library\Configs::get( 'libraryUrl' ) . 'src/assets/css/rating-prompt.css',
				array(),
				date( 'Ymd' )
			);
		}
	}
public function admin_enqueue_scripts ( ) { if ( ! current_user_can ( $ this -> userRole ) ) { return ; } $ prompt = $ this -> getNext ( ) ; if ( ! empty ( $ prompt ) ) { wp_enqueue_script ( 'bglib-rating-prompt-js' , Library \ Configs :: get ( 'libraryUrl' ) . 'src/assets/js/rating-prompt.js' , 'jquery' , date ( 'Ymd' ) ) ; wp_enqueue_style ( 'bglib-rating-prompt-css' , Library \ Configs :: get ( 'libraryUrl' ) . 'src/assets/css/rating-prompt.css' , array ( ) , date ( 'Ymd' ) ) ; } }
Admin enqueue scripts.

@since 2.7.7
Admin enqueue scripts .