MP_Websites::actions( string $post_name )

Actions.


Parameters Parameters

$post_name

(string) (Required) Website post name


Top ↑

Source Source

File: mortgage-platform/Inc/MP_Websites.php

    public function actions($post_name)
    {
        add_action('add_meta_boxes', array( $this, 'add_url_metabox' ));
        add_action('add_meta_boxes', array( $this, 'add_address_metabox' ));
        add_action('add_meta_boxes', array( $this, 'add_status_metabox' ));

        add_action('save_post', array( $this, 'save_fields' ));

        add_filter('manage_' . $post_name . '_posts_columns', array( $this, 'add_websites_table_column' ), 10);
        add_action('manage_' . $post_name . '_posts_custom_column', array( $this, 'get_websites_table_column' ), 10, 2);
    }

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.