The REST API is a simple way to get data in and out of WordPress over HTTP. Applications using the REST API should be written in which programming language?
PHP
any programming language that can make HTTP requests and interpret JSON
Java
Node.js
Browse topic-based Programming Technologies practice sets.
94 practice sets · Page 4 of 5
The REST API is a simple way to get data in and out of WordPress over HTTP. Applications using the REST API should be written in which programming language?
PHP
any programming language that can make HTTP requests and interpret JSON
Java
Node.js
Review of the HTML on line1. The goal of the PHP on line 2 is to extract the field value and assign it to a variable prior to inserting into the database. What is wrong with this PHP code?
The code sample does not use the GET method. It should be wrapped in the get_post_field() function and look like this $title = get_post_field( $GET[ 'title' ] );
The code sample does not use sanitize the form data. It should use the sanitize_text_field() function and look like this: $title = sanitize_text_field( $_POST[ 'title' ] );
There is no error. The code follows WordPress best practices.
The code sample does not allow for translation. It should use a translation function and look like this: $title = __( $_POST[ 'title' ];
On a webpage, there are frequently navigation links, a search bar, or other elements that appear before the main content. For keyborad and screen reader users, it can be frustrating to get to the main content of a page because they have to tab through all these elements on every new page load. What can you add to a site to fix this?
collapsible menus
infinite scroll
skip links
tabbed navigation
JavaScript variables can hold many data types. Which data type does the following variable represent? var x = "16"
Boolean
Number
String
Object
In your wp-config.php file, you've added the following line of code. What does it do? define( 'DISALLOW_FILE_EDIT', true );
prevents any non-admin user from directly editing theme or plugin files
disables the theme and plugin editor in the WordPress admin
disables the ability to edit core WordPress files from either within the WordPress admin or via direct file access
sets read-only permissions on all files in the WordPress install
In WordPress, what is true of plugins?
Plugins are available in free or premium (paid) versions.
Plugins can extend WordPress core functionality.
Plugins add site-specific features.
all of these answers
In WordPress, what is the Loop used to do?
It displays a single page.
It displays posts on an archive.
It displays a single post.
all of these answers
In WordPress, what is the block editor used for?
cropping images in the media library
injecting specialized scripts into the content area
creating a site layout
creating and laying out content
In which of the following ways might you contribute to the WordPress community by testing?
user testing
beta testing
automated testing
all of these answers
In the WordPress template hierarchy, which file could not be used to display an archive?
archive.php
index.php
page.php
category.php
Laravel Supports Caching?
True Statement
Flase Statement
Dont Know
Set of interfaces that define the core services provided by the laravel framework are called
Closures
Fecades
Contracts
Traits
What provide a static link interface to classes that are available in the applications service container?
Traits
Closures
Kept
Fecades
In Laravel, method you want include within another class is?
Traits
Closures
Contracts
Fecades
Which template engine Laravel use?
Recode Templating Engine
Amaze Templating Engine
Blade Templating Engine
Trans Templating Engine
How to check current installed version of Laravel?
php -artisan version
php -artisan list
php -artisan view
php -artisan model
..............is the HTTP Status Code for your website, when its down for maintenance
200
400
501
503
Who developed Laravel?
Taylor Otwell
James Gosling
Rasmus Lerdorf
Guido van Rossum
............directory contain robot.txt file.
app
config
public
storage
Which methods are used in database migrations classes?
up() and down()
run() and delete()
save() and update()
execute() and rollback()