Completed
Push — master ( 1466b8...74a3d9 )
by Stephanie
14s
created

FrmFormTemplateApi::api_url()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
class FrmFormTemplateApi extends FrmFormApi {
4
5
	/**
6
	 * @since 3.06
7
	 */
8
	protected function set_cache_key() {
9
		$this->cache_key = 'frm_form_templates_l' . ( empty( $this->license ) ? '' : md5( $this->license ) );
10
	}
11
12
	/**
13
	 * @since 3.06
14
	 */
15
	protected function api_url() {
16
		return 'https://formidableforms.com/wp-json/form-templates/v1/list';
17
	}
18
19
	/**
20
	 * @since 3.06
21
	 */
22
	protected function skip_categories() {
23
		return array();
24
	}
25
}
26