base->plugin->account,
$post_type_object->labels->singular_name,
strtolower( $actions_plural[ $post_action ] ),
( $profile_id === 'default' ? '' : sprintf(
/* translators: Social Media Service Name (Buffer, Hootsuite) */
__( 'to %s. These override the status(es) specified on the Defaults tab.', 'wp-to-buffer' ),
$profile['formatted_username']
) )
)
);
?>
' data-action="">
| |
|
|
|
|
get_setting( $post_type, '[' . $profile_id . '][' . $post_action . '][status]' );
if ( ! is_array( $statuses ) || ! count( $statuses ) ) {
$statuses = array(
$this->base->get_class( 'settings' )->get_default_status( $post_type, false, $this->base->plugin->default_schedule ),
);
}
// Iterate through saved statuses.
foreach ( $statuses as $key => $status ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$status = $this->base->get_class( 'settings' )->get_status( $status, $post_type ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$labels = $this->base->get_class( 'settings' )->get_status_value_labels( $status, $post_type );
$row = $this->base->get_class( 'settings' )->get_status_row( $status, $post_type, $post_action );
// Load sub view.
require $this->base->plugin->folder . 'lib/social/views/settings-post-action-status-row.php';
}
?>
|
base->plugin->folder . 'lib/social/views/settings-post-action-status-upgrade.php';
}
?>