plugin install

This commit is contained in:
Tony Volpe
2024-06-18 17:29:05 -04:00
parent e1aaedd1ae
commit 41f50eacc4
5880 changed files with 1057631 additions and 39681 deletions

View File

@@ -22,7 +22,6 @@ if ( ! class_exists( 'acf_options_page' ) ) :
* @param n/a
* @return n/a
*/
function __construct() {
/* do nothing */
@@ -122,7 +121,6 @@ if ( ! class_exists( 'acf_options_page' ) ) :
* @param $page (array)
* @return n/a
*/
function add_page( $page ) {
// validate
@@ -152,7 +150,6 @@ if ( ! class_exists( 'acf_options_page' ) ) :
* @param $post_id (int)
* @return $post_id (int)
*/
function add_sub_page( $page ) {
// validate
@@ -184,7 +181,6 @@ if ( ! class_exists( 'acf_options_page' ) ) :
* @param $data (array)
* @return (array)
*/
function update_page( $slug = '', $data = array() ) {
// vars
@@ -216,7 +212,6 @@ if ( ! class_exists( 'acf_options_page' ) ) :
* @param $slug (string)
* @return (mixed)
*/
function get_page( $slug ) {
return isset( $this->pages[ $slug ] ) ? $this->pages[ $slug ] : null;
@@ -233,7 +228,6 @@ if ( ! class_exists( 'acf_options_page' ) ) :
* @param $slug (string)
* @return (mixed)
*/
function get_pages() {
return $this->pages;
@@ -288,7 +282,6 @@ endif; // class_exists check
if ( ! function_exists( 'acf_add_options_page' ) ) :
function acf_add_options_page( $page = '' ) {
return acf_options_page()->add_page( $page );
}